Library: | graphic |
See also: | hls2rgb |
Quantlet: | rgb2hls | |
Description: | Generates HLS-colors from the RGB color model. |
Usage: | hls = rgb2hls (rgb) | |
Input: | ||
rgb | n x 3 array | |
Output: | ||
hls | n x 3 array |
library ("graphic") rgb = (0:255).*matrix(256,3) hls = rgb2hls (rgb) hls
computes the HLS colors from white-gray-black
Library: | graphic |
See also: | hls2rgb |