[ top | up ]

RGB Color Specification

Syntax

rgb(red, green, blue)

Description

This function creates ``colors'' corresponding to the given intensities of the red, green and blue primaries (the intensities must lie between zero and one).

The values returned by rgb can be used with a col= specification in graphics functions or in par.

See Also

rainbow, hsv, gray.