Learn R Programming

highcharter (version 0.9.4)

hex_to_rgba: Transform colors from hexadecimal format to rgba hc notation

Description

Transform colors from hexadecimal format to rgba hc notation

Usage

hex_to_rgba(x, alpha = 1)

Arguments

x

colors in hexadecimal format

alpha

alpha

Examples

Run this code
# NOT RUN {
hex_to_rgba(x <- c("#440154", "#21908C", "#FDE725"))
# }

Run the code above in your browser using DataLab