Skip to content
Prev 299654 / 398503 Next

RGB components of plot() colours

On 12-07-10 9:05 AM, (Ted Harding) wrote:
col2rgb("salmon")
       [,1]
red    250
green  128
blue   114

Those need to be divided by 255 to get the colours on the 0-1 scale.

Duncan Murdoch