Library: | graphic |
See also: | rgb2hls |
Quantlet: | hls2rgb | |
Description: | Generates RGB colors from the HLS color model. |
Usage: | rgb = hls2rgb (hls) | |
Input: | ||
hls | n x 3 array | |
Output: | ||
rgb | n x 3 array |
library ("graphic") h = grid (0,1,360) l = 0.5.*matrix(rows(h)) s = matrix(rows(h)) rgb = hls2rgb(h~l~s) rgb
computes the RGB colors from red-green-blue-red
Library: | graphic |
See also: | rgb2hls |