Convert PostScript Color Specifications

DESCRIPTION:
This function converts a matrix of PostScript HSB (Hue - Saturation - Brightness) specifications to RGB (Red - Green - Blue) specifications.

USAGE:
ps.hsb2rgb(hsb)

REQUIRED ARGUMENTS:
hsb:
Numeric matrix where each row corresponds to a color specification and each column corresponds to one of the HSB color model components. Each color component should be in the range of 0.0 through 1.0.

VALUE:
Each color is converted to an equivalent RGB color model specification and a matrix of the same size as hsb is returned. Each component of the RGB specification will also be in the range of 0.0 to 1.0.

DETAILS:
The algorithm for ps.hsb2rgb was adapted from the "HSV to RGB" conversion algorithm in Foley (1990).

REFERENCES:
Foley, van Dam, Feiner, Hughes (1990). Computer Graphics: Principles and Practice, second edition Addison-Wesley, Reading, Massachusetts

SEE ALSO:
ps.rgb2hsb , ps.options , ps.options.send , ps.setcolor.rgb, ps.setcolor.hsb

EXAMPLES:
ps.options (colors=ps.hsb2rgb(my.hsb.ps.colors))