Skip to content
Marcus Fredriksson edited this page Feb 1, 2014 · 3 revisions

Colorcoke

EXAMPLES

The default Xterm colorsetThe default Xterm colorset

Some of the things you can do with Colorcoke:

colorcoke -s 0 -e 255 --random -rr 255 -rb 128 -rg 128colorcoke -s 0 -e 255 --random -rr 255 -rb 128 -rg 128

colorcoke -s 0 -e 255 -r 240 -g 2 -b 1colorcoke -s 0 -e 255 -r 240 -g 2 -b 1

ANSI Colorschemes

ANSI colorschemes can be generated like so:

colorcoke -s 0 -e 15 --random -rg 0 -rb 200colorcoke -s 0 -e 15 --random -rg 0 -rb 200

PERSISTENT COLORSCHEMES

If you want to keep a generated colorscheme as your default, you can show the hex values for all the colors with https://github.com/trapd00r/rgbterm.

URxvt does not support redefining of colors above the standard ANSI set, so you'll need my patched version as well: https://github.com/trapd00r/rxvt-unicode

After that, it's just as simple as putting the color resources in $HOME/.Xresources like so;

urxvt.color220: #d90e48
urxvt.color196: #ffff00

See my examples here: https://github.com/trapd00r/configs/tree/master/Xresources.

Clone this wiki locally