Function pancurses::init_color
source · Expand description
Changes the definition of a color. It takes four arguments: the number of the color to be
changed followed by three RGB values (for the amounts of red, green, and blue components).
The first argument must be a legal color value; default colors are not allowed here.
Each of the last three arguments must be a value in the range 0 through 1000. When init_color
is used, all occurrences of that color on the screen immediately change to the new definition.