powered by
Accepts the hexadecimal code vector and tests if it is formatted correctly
palette_check(palette)
An error message or nothing
(character) Vector of hexadecimal codes returned by `palette_extract()`, `..._sort()`, or `..._subsample()`
# Check for misformatted hexcodes palette_check(palette = c("#8e847a", "#9fc7f2"))
Run the code above in your browser using DataLab