1PLHLSRGB(3plplot)                 PLplot API                 PLHLSRGB(3plplot)
2
3
4

NAME

6       plhlsrgb - Convert HLS color to RGB
7

SYNOPSIS

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

DESCRIPTION

12       Convert HLS color coordinates to RGB.
13
14       Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)
15
16
17       This function is used in example 2.
18

ARGUMENTS

20       h (PLFLT(3plplot), input)
21              Hue in degrees (0.0-360.0) on the color cylinder.
22
23       l (PLFLT(3plplot), input)
24              Lightness  expressed  as a fraction (0.0-1.0) of the axis of the
25              color cylinder.
26
27       s (PLFLT(3plplot), input)
28              Saturation expressed as a fraction (0.0-1.0) of  the  radius  of
29              the color cylinder.
30
31       p_r (PLFLT_NC_SCALAR(3plplot), output)
32              Returned value of the red intensity (0.0-1.0) of the color.
33
34       p_g (PLFLT_NC_SCALAR(3plplot), output)
35              Returned value of the green intensity (0.0-1.0) of the color.
36
37       p_b (PLFLT_NC_SCALAR(3plplot), output)
38              Returned value of the blue intensity (0.0-1.0) of the color.
39
40

AUTHORS

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

SEE ALSO

46       PLplot documentation at http://plplot.org/documentation.php.
47
48
49
50                                  July, 2023                 PLHLSRGB(3plplot)
Impressum