Click or drag to resize

ColorFromRgb Method (Int32, Int32, Int32)

Creates a new color instance from the specified Red, Green and Blue components.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1041 (21.3.35.1041)
Syntax
public static Color FromRgb(
	int r,
	int g,
	int b
)

Parameters

r
Type: SystemInt32
The Red component (from 0 to 255).
g
Type: SystemInt32
The Green component (from 0 to 255).
b
Type: SystemInt32
The Blue component (from 0 to 255).

Return Value

Type: Color
A new color instance from the specified Red, Green and Blue components.
See Also