Conversion.RGBToHSL
Static Method in Conversion
Declaration
public static HSL RGBToHSL(float R, float G, float B)
Description
Converts RGB components to HSL components.
Parameters
R | The red component of the color in the range [0..1]. |
G | The green component of the color in the range [0..1]. |
B | The blue component of the color in the range [0..1]. |
Returns
HSL | The converted HSL components. |