ColorHelpers.RgbToHslFloat method
Version 1.0.2
.NET Framework 4.7
Namespace | Skybrud.Colors |
---|---|
Assembly | Skybrud.Colors.dll |
RgbToHslFloat(Byte, Byte, Byte, out float, out float, out float)
Static
Converts a RGB color to an HSL color.
public static Void RgbToHslFloat(Byte red, Byte green, Byte blue, float hue, float saturation, float lightness)
Parameters
red
Byte
The amount of red in the RGB color.
green
Byte
The amount of green in the RGB color.
blue
Byte
The amount of blue in the RGB color.
hue
Single
The amount of hue in the HSL color.
saturation
Single
The amount of saturation in the HSL color.
lightness
Single
The amount of lightness in the HSL color.