Method rgbhls
| Improve this Doc View Sourcergbhls(Double, Double, Double, out Double, out Double, out Double)
plrgbhls: Convert RGB color to HLS
Declaration
public void rgbhls(Double r, Double g, Double b, out Double p_h, out Double p_l, out Double p_s)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | r | Red intensity (0.0-1.0) of the color. |
| Double | g | Green intensity (0.0-1.0) of the color. |
| Double | b | Blue intensity (0.0-1.0) of the color. |
| Double | p_h | Returned value of the hue in degrees (0.0-360.0) on the color cylinder. |
| Double | p_l | Returned value of the lightness expressed as a fraction (0.0-1.0) of the axis of the color cylinder. |
| Double | p_s | Returned value of the saturation expressed as a fraction (0.0-1.0) of the radius of the color cylinder. |
Remarks
Convert RGB color coordinates to HLS