Colour paletes for images.
palettes.Rd
Some simple colour palettes that may be used for images.
Arguments
- n
Integer: number of colours. irainbow and grainbow accept negative values, in which case the order is reversed.
Value
All these functions return a vector of n colours that span the chosen colour palette. col.cloud
is a bit special, as it actually returns transparancy values. grainbow
is kind of a stupid name for grey-scaling. irainbow
and grainbow
accept negative values for n, in which case the order is reversed. For best results, some of these functions require RColorBrewer. If this is not available, a similar choice is made from standard colours.