[This is preliminary documentation and is subject to change.]

Retrieves the intensity of the red, green and blue (RGB) components in a color.

Namespace:  CursesSharp
Assembly:  CursesSharp (in CursesSharp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void ColorContent(
	short color,
	out short red,
	out short green,
	out short blue
)
Visual Basic (Declaration)
Public Shared Sub ColorContent ( _
	color As Short, _
	<OutAttribute> ByRef red As Short, _
	<OutAttribute> ByRef green As Short, _
	<OutAttribute> ByRef blue As Short _
)
Visual C++
public:
static void ColorContent(
	short color, 
	[OutAttribute] short% red, 
	[OutAttribute] short% green, 
	[OutAttribute] short% blue
)

Parameters

color
Type: System..::.Int16
Color number
red
Type: System..::.Int16 %
Reference to a variable in which the amount of the red color component will be stored.
green
Type: System..::.Int16 %
Reference to a variable in which the amount of the green color component will be stored.
blue
Type: System..::.Int16 %
Reference to a variable in which the amount of the blue color component will be stored.

Remarks

Requires three references of variables for storing the information about amounts of the components in that color. the components.

The value of color must be between 0 and Colors. The values that are stored in red, green and blue are between 0 and 1000.

See Also