Color.

FromArgb(byte, byte, byte, byte) Method

Summary

Creates a Color from alpha, red, green and blue components.
Namespace
Avalonia.Media
Containing Type
Color

Syntax

public static Color FromArgb(byte a, byte r, byte g, byte b)

Parameters

Name Type Description
a byte The alpha component.
r byte The red component.
g byte The green component.
b byte The blue component.

Return Value

Type Description
Color The color.