The palette based on Flat UI.
Arguments
- palette
Character name of palette. Depending on the color scale, can be one of
"full"
,"ice"
,"rainbow"
,"complement"
,"contrast"
,"light"
(for dark themes),"black_first"
,full_original
, orblack_first_original
. The latter three options are especially for the Okabe-Ito color palette. The default isNULL
and either"contrast"
or"gradient"
is used (depending on whetherdiscrete
isTRUE
orFALSE
), which are the two scale useful for discrete or gradient color scales, respectively.- reverse
Boolean indicating whether the palette should be reversed.
- ...
Additional arguments to pass to
colorRampPalette()
.
Details
This function is usually not called directly, but from within
scale_color_flat()
.