Click or drag to resize

ColorFromArgb Method (Int32, Int32, Int32, Int32)

Creates a color from 8-bit ARGB components

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static Color FromArgb(
	int red,
	int green,
	int blue,
	int alpha = 255
)

Parameters

red
Type: SystemInt32
The red component (0-255)
green
Type: SystemInt32
The green component (0-255)
blue
Type: SystemInt32
The blue component (0-255)
alpha (Optional)
Type: SystemInt32
The alpha component (0-255)

Return Value

Type: Color
A new instance of the Color object with the specified components
See Also