ColorFromRgb Method

Creates a Color from red, green and blue components.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Color FromRgb(
	byte r,
	byte g,
	byte b
)

Parameters

r  Byte
The red component.
g  Byte
The green component.
b  Byte
The blue component.

Return Value

Color
The color.

See Also