ColorFromArgb Method

Creates a Color from alpha, red, green and blue components.

Definition

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

Parameters

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

Return Value

Color
The color.

See Also