An open API service indexing awesome lists of open source software.

https://github.com/scrouthtv/bash-colorpicker

Color picker to generate escape codes for the terminal.
https://github.com/scrouthtv/bash-colorpicker

colors customization shell terminal theme

Last synced: 8 months ago
JSON representation

Color picker to generate escape codes for the terminal.

Awesome Lists containing this project

README

          

# Colorpicker for Bash
I wrote this ~~little~~ script to generate color combinations for different use cases.
The original idea was to be able to preview color combinations as they can be used with ls, but these escape codes can also be used for many other shell configurations (prompt customization, ...).

This script currently supports mixing 2byte and 8byte colors as well as some attributes that work for me:
![Screenshot of the 2byte mode](.github/16mode.png)
![Screenshot of the 8byte mode](.github/256mode.png)

# Some features I ~~might~~ want to add
- [ ] I already have some support to generate the preview text using `fortune`, I did not test that though. I might implement some way to "type" the preview text.
- [ ] I want to add a generator for full rgb (16b) colors using `\e[38;2;r;g;bm`.
- [ ] I want to add a preview gif to the readme that showcases all functionality