% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api.R
\name{scale_color_manual}
\alias{scale_color_manual}
\title{Set the discrete color palette}
\usage{
scale_color_manual(values, name = NULL)
}
\arguments{
\item{values}{Character vector of colors (names or hex).}

\item{name}{Optional legend title.}
}
\value{
A \code{ColorScale} object to add with \code{+}.
}
\description{
Overrides the default colorblind-safe palette for discrete color
mappings. Levels take colors in order.
}
\examples{
ggnext(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_point() +
  scale_color_manual(c("#D55E00", "#0072B2", "#009E73"))
}
