| resolve_cmap | R Documentation |
Lightweight, perceptually-uniform color tools with safe fallbacks.
resolve_cmap(name = "grays", n = 256)
name |
Palette name (e.g., "grays", "viridis", "inferno", "magma", "plasma", "turbo", "cividis"). Case-insensitive. If you pass a vector of colors, it's returned unchanged. |
n |
Number of colors to generate. |
A character vector of hex colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.