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

NAME

6       plrgbhls - Convert RGB color to HLS
7

SYNOPSIS

9       plrgbhls(r, g, b, p_h, p_l, p_s)
10

DESCRIPTION

12       Convert RGB color coordinates to HLS
13
14       Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)
15
16
17       This function is used in example 2.
18

ARGUMENTS

20       r (PLFLT(3plplot), input)
21              Red intensity (0.0-1.0) of the color.
22
23       g (PLFLT(3plplot), input)
24              Green intensity (0.0-1.0) of the color.
25
26       b (PLFLT(3plplot), input)
27              Blue intensity (0.0-1.0) of the color.
28
29       p_h (PLFLT_NC_SCALAR(3plplot), output)
30              Returned  value  of  the hue in degrees (0.0-360.0) on the color
31              cylinder.
32
33       p_l (PLFLT_NC_SCALAR(3plplot), output)
34              Returned  value  of  the  lightness  expressed  as  a   fraction
35              (0.0-1.0) of the axis of the color cylinder.
36
37       p_s (PLFLT_NC_SCALAR(3plplot), output)
38              Returned  value  of  the  saturation  expressed  as  a  fraction
39              (0.0-1.0) of the radius of the color cylinder.
40
41

AUTHORS

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

SEE ALSO

47       PLplot documentation at http://plplot.org/documentation.php.
48
49
50
51                                 August, 2019                PLRGBHLS(3plplot)
Impressum