C# Class ThingM.Blink1.ColorProcessor.Hsl

Color in a Hue, Saturation and Luminance (HSL) format.
Inheritance: IColorProcessor
Mostrar archivo Open project: todbot/blink1

Public Methods

Method Description
Hsl ( ushort hue, ushort saturation, ushort luminance ) : System

Initializes a new instance of the Hsl class.

ToRgb ( ) : ThingM.Blink1.ColorProcessor.Rgb

Convert the color to the RGB format.

Method Details

Hsl() public method

Initializes a new instance of the Hsl class.
public Hsl ( ushort hue, ushort saturation, ushort luminance ) : System
hue ushort /// The hue component of the color. ///
saturation ushort /// The saturation component of the color. ///
luminance ushort /// the lightness component of the color. ///
return System

ToRgb() public method

Convert the color to the RGB format.
public ToRgb ( ) : ThingM.Blink1.ColorProcessor.Rgb
return ThingM.Blink1.ColorProcessor.Rgb