The HLS procedure creates a color table based on the HLS (Hue, Lightness, Saturation) color system.
Using the input parameters, a spiral through the double-ended HLS cone is traced. Points along the cone are converted from HLS to RGB. The current colortable (and the COLORS common block) contains the new colortable on exit.
This routine is written in the IDL language. Its source code can be found in the file
hls.pro
in the
lib
subdirectory of the IDL distribution.
COLOR_CONVERT , HSV , PSEUDO