php man page for ncurses_init_color

Query: ncurses_init_color

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NCURSES_INIT_COLOR(3)							 1						     NCURSES_INIT_COLOR(3)

ncurses_init_color - Define a terminal color

SYNOPSIS
int ncurses_init_color (int $color, int $r, int $g, int $b)
DESCRIPTION
Defines or redefines the given color. When this function is called, all occurrences of the given color on the screen, if any, immediately change to the new definition. Color capabilities must be supported by the terminal and initialized using ncurses_start_color(3) prior to calling this function. In addi- tion, the terminal must have color changing capabilities; use ncurses_can_change_color(3) to check for this.
PARAMETERS
o $color - The identification number of the color to redefine. It may be one of the default color constants. o $r - A color value, between 0 and 1000, for the red component. o $g - A color value, between 0 and 1000, for the green component. o $b - A color value, between 0 and 1000, for the blue component.
RETURN VALUES
Returns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized or the terminal does not have color changing capabilities.
SEE ALSO
ncurses_color_content(3), ncurses_start_color(3). PHP Documentation Group NCURSES_INIT_COLOR(3)
Related Man Pages
set_color(1) - suse
ncurses_color_content(3) - php
ncurses_color_set(3) - php
set_color(1) - opendarwin
set_color(1) - netbsd
Similar Topics in the Unix Linux Community
color in emacs... when ssh-ing to my FreeBSD box
Changing Text Color Using VT100
changing text color in c
How to use dir_colors to change color of files with executable privileges
Color a Badge Based on the Weeks the Member is Active in the Latest Sequence