FromRgb Method
Creates a Color from red, green and blue components.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static Color FromRgb(
byte r,
byte g,
byte b
)
Public Shared Function FromRgb (
r As Byte,
g As Byte,
b As Byte
) As Color
static member FromRgb :
r : byte *
g : byte *
b : byte -> Color
Parameters
Return Value
Color
The color.