% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/discrete-gephi.R
\name{pal_gephi}
\alias{pal_gephi}
\title{Gephi color palettes}
\usage{
pal_gephi(palette = gephi_palettes(), alpha = 1)
}
\arguments{
\item{palette}{Palette type. See \code{\link[=gephi_palettes]{gephi_palettes()}} for available options.}

\item{alpha}{Transparency level, a real number in (0, 1].
See \code{alpha} in \code{\link[grDevices:rgb]{grDevices::rgb()}} for details.}
}
\description{
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.
}
\details{
The Gephi palette generator uses the current R random number state directly.
If you need reproducible results, call \code{\link[base:Random]{base::set.seed()}} before creating
a palette or evaluating the scale. To isolate RNG side effects, consider
using \code{withr::with_seed()}.
}
\examples{
library("scales")
set.seed(42)
show_col(pal_gephi("default")(10))
show_col(pal_gephi("fancy_light")(20))
}
