Description Usage Arguments Details Examples
Helpful for visualizing one or more colors (hex code)
| 1 | view_colors(colors, direction = c("horizontal", "vertical"))
 | 
| colors | character vector of hex color codes | 
| direction | character scalar indicating desired plotting direction (default is horizontal). See details. | 
For horizontal displays, the colors proceed left to right. For vertical displays, the colors proceed bottom to top.
| 1 2 3 | view_colors(c("#440154FF", "#3B528BFF", "#21908CFF", "#5DC863FF", "#FDE725FF"))
view_colors(c("#440154FF", "#3B528BFF", "#21908CFF", "#5DC863FF", "#FDE725FF"),
            direction = "vertical")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.