Generative discrete color palettes adapted from the palette engine in Gephi. These palettes are designed to generate visually distinct colors for an arbitrary number of categories.
Usage
pal_gephi(palette = gephi_palettes(), alpha = 1)Arguments
- palette
Palette type. See
gephi_palettes()for available options.- alpha
Transparency level, a real number in (0, 1]. See
alphaingrDevices::rgb()for details.
Details
The Gephi palette generator uses the current R random number state directly.
If you need reproducible results, call base::set.seed() before creating
a palette or evaluating the scale. To isolate RNG side effects, consider
using withr::with_seed().


