[ top | up ]

Color Names

Syntax

colors()

Value

This function returns the built-in color names which R knows about. These names can be used with a col= specification in graphics functions.

An even wider variety of colors can be created with rainbow, rgb and hsv.

See Also

rainbow for a nice example; rgb, hsv, gray, and heat.colors, topo.colors for images.