Computes HSL values from RGB values, found on:
http://www.geekymonkey.com/Programming/CSharp/RGB2HSL_HSL2RGB.htm
Namespace: VVVV.Utils.VColorAssembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871
Syntax
C# |
---|
public static bool RGBtoHSL( double r, double g, double b, out double h, out double s, out double l ) |
Parameters
- r
- Type: System..::..Double
Red
- g
- Type: System..::..Double
Green
- b
- Type: System..::..Double
Blue
- h
- Type: System..::..Double%
Output parameter, gets filled with the hue value
- s
- Type: System..::..Double%
Output parameter, gets filled with the saturation value
- l
- Type: System..::..Double%
Output parameter, gets filled with the lightness value