Transform colors from hexadeximal format to rgba hc notation

Description

Transform colors from hexadeximal format to rgba hc notation

Usage

1
hex_to_rgba(x, alpha = 1)

Arguments

x

colors in hexadecimal format

alpha

alpha

Examples

1
hex_to_rgba(x <- c("#440154", "#21908C", "#FDE725"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.