plhlsrgb(3plplot)

plhlsrgb3plplot

Convert hls color to rgb

Usage

plhlsrgb(h, l, s, p_r, p_g, p_b)

Overview

Convert HLS color coordinates to RGB.

Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)

This function is used in example 2.

Arguments

h (PLFLT(3plplot), input)

Hue in degrees (0.0-360.0) on the color cylinder.

l (PLFLT(3plplot), input)

Lightness expressed as a fraction (0.0-1.0) of the axis of the color cylinder.

s (PLFLT(3plplot), input)

Saturation expressed as a fraction (0.0-1.0) of the radius of the color cylinder.

p_r (PLFLT_NC_SCALAR(3plplot), output)

Returned value of the red intensity (0.0-1.0) of the color.

p_g (PLFLT_NC_SCALAR(3plplot), output)

Returned value of the green intensity (0.0-1.0) of the color.

p_b (PLFLT_NC_SCALAR(3plplot), output)

Returned value of the blue intensity (0.0-1.0) of the color.

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

Authors

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

From plplot-doc 5.15.0+dfsg2-15 in Debian 13 (Trixie). Parsed by carta from the page's man source.