Convert packed colors (integer values containing RGBA bytes) to hex colors

packed_cols_to_hex_cols(packed_cols)

Arguments

packed_cols

integer values each containing packed RGBA color information

Value

character vector of hex colors

Examples

packed_cols_to_hex_cols(c(-16776961L, -1L, -65536L, 16777215L, 16777215L))
#> [1] "#FF0000FF" "#FFFFFFFF" "#0000FFFF" "#FFFFFF00" "#FFFFFF00"