% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/palettes.R
\name{palette_pequod}
\alias{palette_pequod}
\title{Pequod palette}
\usage{
palette_pequod(
  name = "log",
  n = NULL,
  type = c("discrete", "continuous"),
  reverse = FALSE,
  direction = 1
)
}
\arguments{
\item{name}{Palette name; see Details.}

\item{n}{Number of colours to return. Defaults to the full palette
length. For `type = "continuous"`, any positive integer.}

\item{type}{`"discrete"` takes the first `n` colours (errors if `n`
exceeds the palette length). `"continuous"` interpolates `n`
colours across the full palette with [grDevices::colorRampPalette()].}

\item{reverse}{If `TRUE`, reverse the returned palette.}

\item{direction}{`+1` (default) or `-1` to flip the palette.}
}
\value{
An unnamed character vector of hex codes of length `n`.
}
\description{
Returns a character vector of hex colours from a named Pequod
palette. Supports both discrete selection (first `n` colours) and
continuous interpolation between the palette's stops.
}
\details{
Available palettes:
\describe{
  \item{`"log"`}{The full 12-step Log base scale.}
  \item{`"log-warm"`}{Log 50–400 (six warm steps).}
  \item{`"log-cool"`}{Log 500–950 (six cool steps).}
  \item{`"crew"`}{The eight crew accents, light variants.}
  \item{`"crew-dark"`}{The eight crew accents, dark variants.}
  \item{`"syntax"`}{Crew accents in syntax-role order — keyword,
    string, number, comment, function, type, constant, variable.}
}
}
\examples{
palette_pequod("log")
palette_pequod("crew", n = 5)
palette_pequod("log-cool", n = 100, type = "continuous")
}
