#Colour in R

# How to produce a pie chart with 30 colours

pie(rep(1,30),col=rainbow(30),radius=0.9)

COLOUR WHEEL

Colours names only

Colours with RBG combos

colors()
colours()

palette for setting the ‘palette’ of colors for par(col=<num>);

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

Advertisements