powered by
Transform colors from hexadecimal format to rgba hc notation
hex_to_rgba(x, alpha = 1)
colors in hexadecimal format
alpha
# NOT RUN { hex_to_rgba(x <- c("#440154", "#21908C", "#FDE725")) # }
Run the code above in your browser using DataLab