[]
        
(Showing Draft Content)

GrapeCity.Core.SchemeColor.CreateHslColor

CreateHslColor Method

CreateHslColor(double, double, double)

Creates the color represented in HLS color.

Declaration
public static SchemeColor CreateHslColor(double hue, double luminance, double saturation)
Public Shared Function CreateHslColor(hue As Double, luminance As Double, saturation As Double) As SchemeColor
Parameters
Type Name Description
double hue

A double value indicates the angular value describing the wavelength. The value must be in 0..360.

double luminance

A double value indicates the luminance referring to the lightness or darkness of the color. The value must be in 0.0..1.0. 0.0 referring to maximal dark (black) and 1.0 referring to maximal white.

double saturation

A double value indicates the saturation referring to the purity of the hue. The value must be in 0.0..1.0.. 0.0 referring to grey, 1.0 referring to the purest form of the hue.

Returns
Type Description
SchemeColor

A SchemeColor value represents the color