Color.

FromRgb(byte, byte, byte) Method

Summary

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

Syntax

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

Parameters

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

Return Value

Type Description
Color The color.