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

Constructs a color using the specified values.

Syntax

C#
public Color(
	byte r,
	byte g,
	byte b
)
Visual Basic (Declaration)
Public Sub New ( _
	r As Byte, _
	g As Byte, _
	b As Byte _
)

Parameters

r
Type: System..::.Byte
Red component. Value range is 0 to 255.
g
Type: System..::.Byte
Green component. Value range is 0 to 255.
b
Type: System..::.Byte
Blue component. Value range is 0 to 255.

See Also