Click or drag to resize

Color Constructor (Single, Single, Single, Single)

Initializes a new instance of the Color object with the specified red, green, blue, and alpha components

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Color(
	float red,
	float green,
	float blue,
	float alpha = 1f
)

Parameters

red
Type: SystemSingle
Red component (0-1)
green
Type: SystemSingle
Green component (0-1)
blue
Type: SystemSingle
Blue component (0-1)
alpha (Optional)
Type: SystemSingle
Alpha component (0-1)
See Also