Click or drag to resize
ColorFromArgb Method
Creates a new Windows.UI.Color structure by using the specified sRGB alpha channel and color channel values.

Namespace: Windows.UI
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public static Color FromArgb(
	byte a,
	byte r,
	byte g,
	byte b
)

Parameters

a
Type: SystemByte
The alpha channel, Windows.UI.Color.A, of the new color. The value must be between 0 and 255.
r
Type: SystemByte
The red channel, Windows.UI.Color.R, of the new color. The value must be between 0 and 255.
g
Type: SystemByte
The green channel, Windows.UI.Color.G, of the new color. The value must be between 0 and 255.
b
Type: SystemByte
The blue channel, Windows.UI.Color.B, of the new color. The value must be between 0 and 255.

Return Value

Type: Color
A Windows.UI.Color structure with the specified values.
See Also