PLRGBHLS(3plplot) | PLplot API | PLRGBHLS(3plplot) |
NAME¶
plrgbhls - Convert RGB color to HLSSYNOPSIS¶
plrgbhls(r, g, b, p_h, p_l, p_s)DESCRIPTION¶
Convert RGB color coordinates to HLSRedacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s) Perl/PDL: Not available? Implemented as plrgb/plrgb1?
This function is used in example 2.
ARGUMENTS¶
- r (PLFLT, input)
- Red intensity (0.0-1.0) of the colour
- g (PLFLT, input)
- Green intensity (0.0-1.0) of the colour
- b (PLFLT, input)
- Blue intensity (0.0-1.0) of the colour
- p_h (PLFLT *, output)
- Pointer to hue, in degrees on the colour cone (0.0-360.0)
- p_l (PLFLT *, output)
- Pointer to lightness, expressed as a fraction of the axis of the colour cone (0.0-1.0)
- p_s (PLFLT *, output)
- Pointer to saturation, expressed as a fraction of the radius of the colour cone (0.0-1.0)
AUTHORS¶
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history.SEE ALSO¶
PLplot documentation at http://plplot.sourceforge.net/documentation.php.September, 2016 |