read_color {rcolors} | R Documentation |
read colors from ncl
Description
read colors from ncl
Usage
read_color(file)
Arguments
file |
ncl rgb file |
Value
A character vector with elements of 7 or 9 characters, "#"
followed by the red, blue, green and optionally alpha values in
hexadecimal (after rescaling to 0 ... 255
). The optional alpha
values range from 0
(fully transparent) to 255
(opaque).
R does not use ‘premultiplied alpha’.
[Package rcolors version 0.1.0 Index]