1PLRGBHLS(3plplot) PLplot API PLRGBHLS(3plplot)
2
3
4
6 plrgbhls - Convert RGB color to HLS
7
9 plrgbhls(r, g, b, p_h, p_l, p_s)
10
12 Convert RGB color coordinates to HLS
13
14 Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s) Perl/PDL: Not
15 available? Implemented as plrgb/plrgb1?
16
17
18 This function is used in example 2.
19
21 r (PLFLT, input)
22 Red intensity (0.0-1.0) of the colour
23
24 g (PLFLT, input)
25 Green intensity (0.0-1.0) of the colour
26
27 b (PLFLT, input)
28 Blue intensity (0.0-1.0) of the colour
29
30 p_h (PLFLT *, output)
31 Pointer to hue, in degrees on the colour cone (0.0-360.0)
32
33 p_l (PLFLT *, output)
34 Pointer to lightness, expressed as a fraction of the axis of the
35 colour cone (0.0-1.0)
36
37 p_s (PLFLT *, output)
38 Pointer to saturation, expressed as a fraction of the radius of
39 the colour cone (0.0-1.0)
40
41
43 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
44 man page was automatically generated from the DocBook source of the
45 PLplot documentation, maintained by Alan W. Irwin and Rafael
46 Laboissiere.
47
49 PLplot documentation at http://plplot.sourceforge.net/resources.
50
51
52
53 March, 2007 PLRGBHLS(3plplot)