HexToRgb

0th

Percentile

Convert a Hexstring Color to a Matrix With Three Red/Green/Blue Rows

Converts a hexstring color to matrix with 3 red/green/blue rows.

Keywords
color
Usage
HexToRgb(hex)
Arguments
hex
a color or a vector of colors specified as hexadecimal string of the form "#rrggbb" or "#rrggbbaa"
Value

See Also

HexToCol

Aliases
  • HexToRgb
Examples
HexToRgb(c("#ADD8E6", "#FA1572"))
Documentation reproduced from package DescTools, version 0.99.19, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.