ColorFromRGB Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Builds a Color object from red, green, and blue values.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)

public static Color ColorFromRGB(
	byte r,
	byte g,
	byte b
)

Parameters

r
Type: System..::..Byte
The red value.
g
Type: System..::..Byte
The green value.
b
Type: System..::..Byte
The blue value.

Return Value

Type: Microsoft.SPOT.Presentation.Media..::..Color
A color with the specified red, green, and blue values.

Show: