View source: R/palette_check.R
palette_check | R Documentation |
Accepts the hexadecimal code vector and tests if it is formatted correctly
palette_check(palette)
palette |
(character) Vector of hexadecimal codes returned by 'palette_extract()', '..._sort()', or '..._subsample()' |
An error message or nothing
# Check for misformatted hexcodes palette_check(palette = c("#8e847a", "#9fc7f2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.