color_content


Description:

public int color_content (short color, ref short r, ref short g, ref short b)

Returns the intensity of the red, green, and blue (RGB) components in the color color_number, which must be between 0 and Curses.COLORS.

A 3-tuple is returned, containing the R,G,B values for the given color, which will be between 0 (no component) and 1000 (maximum amount of component).


Namespace: Curses
Package: curses