Examples for 'colorspace::hex2RGB'


Convert Hexadecimal Color Specifications to sRGB Objects

Aliases: hex2RGB

Keywords: color

### ** Examples

hex2RGB(c("#FF0000","#00FF00", "#0000FF50"))
     R G B
[1,] 1 0 0
[2,] 0 1 0
[3,] 0 0 1

[Package colorspace version 2.0-3 Index]