chickadee » ansi-escape-sequences » set-color256!

set-color256! index red green blueprocedure

Redefine the RGB value of color index. The values red, green, blue are integers in the range 0..255. Be aware that some terminals which will output 256 colors won't necessarily honor this escape sequence.

This egg's source is distributed with a CHICKEN port of the 256colors2.pl program used to test a terminal's ability to display colors beyond the standard 16.