| HexToRgb {DescTools} | R Documentation |
Converts a hexstring color to matrix with 3 red/green/blue rows.
HexToRgb(hex)
hex |
a color or a vector of colors specified as hexadecimal string of the form "#rrggbb" or "#rrggbbaa" |
a matrix with 3 rows.
Andri Signorell <andri@signorell.net>
HexToRgb(c("#ADD8E6", "#FA1572"))