The colours whose weights are less than 1 are diluted. Colours whose weight is zero are returned as white,
other weights are grouped in nlevels
groups and colours diluted proportionally.
weightcolor(col, weights, nlevels = 5)
A vector of colour
A vector of weights, values between 0 and 1
The number of groups
A vector of colours