Click or drag to resize

ColorFromName Method (ColorName, Double)

Creates a new color instance from the specified color name and luminance.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public static Color FromName(
	ColorName name,
	double luminance
)

Parameters

name
Type: GemBox.PresentationColorName
The color name.
luminance
Type: SystemDouble
The luminance (-1 = darkest, 0 = none, 1 = lightest).

Return Value

Type: Color
A color instance with the specified name and luminance.
See Also