showRGB: View colors already formatted by toRGB()

View source: R/toRGB.R

showRGBR Documentation

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.

Author(s)

Carson Sievert

Examples



showRGB(toRGB(colors()), labels = FALSE)


plotly documentation built on May 29, 2024, 2:23 a.m.