Query: ncurses_color_content
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NCURSES_COLOR_CONTENT(3) 1 NCURSES_COLOR_CONTENT(3) ncurses_color_content - Retrieves RGB components of a colorSYNOPSISint ncurses_color_content (int $color, int &$r, int &$g, int &$b)DESCRIPTIONRetrieves the red, green, and blue components for the given color definition. Terminal color capabilities must be initialized with ncurses_start_color(3) prior to calling this function.PARAMETERSo $color - The number of the color to retrieve information for. May be one of the pre-defined color constants. o $r - A reference to which to return the red component of the color. The value returned to the reference will be between 0 and 1000. o $g - A reference to which to return the green component of the color. The value returned to the reference will be between 0 and 1000. o $b - A reference to which to return the blue component of the color. The value returned to the reference will be between 0 and 1000.RETURN VALUESReturns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized.SEE ALSOncurses_init_color(3), ncurses_start_color(3). PHP Documentation Group NCURSES_COLOR_CONTENT(3)
Related Man Pages |
---|
dxmcolormixgetnewcolor(3x) - osf1 |
imagecolorresolve(3) - php |
ncurses_has_colors(3) - php |
ncurses_init_color(3) - php |
ncurses_init_pair(3) - php |
Similar Topics in the Unix Linux Community |
---|
How to have color coded Terminal display,(like linux) |
Vi in color |
Help with incrementing data in some field |
Issues in reading file using 'awk' |
Handle color code |