plotly (version 4.7.1)

showRGB: View colors already formatted by toRGB()

Description

Useful for viewing colors after they've been converted to plotly.js' color format -- "rgba(255, 255, 255, 1)"

Usage

showRGB(x, ...)

Arguments

x

character string specifying color(s).

...

arguments passed along to scales::show_col.

Examples

Run this code
# NOT RUN {
showRGB(toRGB(colors()), labels = FALSE)
# }

Run the code above in your browser using DataCamp Workspace