php man page for ncurses_color_content

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 color

SYNOPSIS
int ncurses_color_content (int $color, int &$r, int &$g, int &$b)
DESCRIPTION
Retrieves 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.
PARAMETERS
o $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 VALUES
Returns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized.
SEE ALSO
ncurses_init_color(3), ncurses_start_color(3). PHP Documentation Group NCURSES_COLOR_CONTENT(3)
Related Man Pages
dxmcolormixgetnewcolor(3x) - osf1
imagecolorallocate(3) - php
ncurses_pair_content(3) - php
ncurses_start_color(3) - php
imager::color::float(3pm) - debian
Similar Topics in the Unix Linux Community
Print in color
text color
Help with incrementing data in some field
Handle color code
Not getting colorcode when excuting html in UNIX