Click or drag to resize

ColorFromHsl Method (Int32, Int32, Int32)

Creates a new color instance from the specified Hue, Saturation and Lightness components.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public static Color FromHsl(
	int h,
	int s,
	int l
)

Parameters

h
Type: SystemInt32
The Hue component (from 0 to 255).
s
Type: SystemInt32
The Saturation component (from 0 to 255).
l
Type: SystemInt32
The Lightness component (from 0 to 255).

Return Value

Type: Color
A new color instance from the specified Hue, Saturation and Lightness components.
See Also