This function downloads a requested color palette from https://www.color-hex.com/. This website provides a large number of user-submitted color palettes.
palette_colorhex(palette = 1014416, reverse = FALSE, ...)
The numeric code for a palette at https://www.color-hex.com/.
For example, 1014416
for the
Josiah color palette (number 1014416).
Boolean indicating whether the palette should be reversed.
Additional arguments to pass to colorRampPalette()
.
This function is usually not called directly, but from within
scale_color_colorhex()
.