Every palette ekioplot ships, at full size. Colors are
read from the package registry, which is generated from
inst/ekio-palettes.yaml — the source of truth for the
brand.
Each chip is labelled with its hex code, drawn in black or white by
ekio_text_on(), the same WCAG contrast helper the palette
swatches use.
The seven brand scales are generated from one OKLCH specification: a
shared lightness spine anchored on the brand navy, a shared chroma arc,
and a hue path per family. A given shade therefore carries the same
visual weight in every family. The scientific palettes are not EKIO
color — they come from matplotlib and from Okabe & Ito, and
inst/COPYRIGHTS carries the notices.
All colors
Every color in one searchable table. Click a hex to copy it; expand a palette to see its colors, or click its copy button to take the whole thing as an R vector.
Accent
Gold is a named token rather than a ramp. It has no nine-step scale
because dark yellow is brown — past the middle of the spine a gold ramp
stops being gold. The three tokens sit on the same lightness rungs as
scale shades 300, 400 and 500, and deep is the one that can
carry type.
accent_blue and accent_orange put one main
color before receding grays. They return the original four-color form by
default; use n from 2 to 6 when the number of series
changes. The gallery shows all six available positions.
gold3 colors
accent_blue6 colors
accent_orange6 colors
Categorical
For unordered groups. cool3 and cool4 are
compact cool palettes, while full_muted follows the same
sequence as full with each color one rung darker.
full separates by hue rather than lightness past five
categories, so it does not survive grayscale printing.
full8 colors
full_muted8 colors
cool33 colors
cool44 colors
Sequential
The seven brand scales, light to dark. Position i is
shade i * 100, so ekio_pal("blue")["700"] is
the primary blue. These work as discrete palettes for ordered categories
and as the ramp behind scale_color_ekio_c().
blue9 colors
gray9 colors
stone9 colors
teal9 colors
green9 colors
orange9 colors
red9 colors
Diverging
For values with a meaningful midpoint. The pivot is a near-neutral tone, lighter than both arms, so the visual center of the scale lands on zero.
blue_orange9 colors
blue_red9 colors
teal_orange9 colors
Scientific
Established palettes included for accessibility and continuity with
published work: okabe_ito is colorblind-safe, and the three
matplotlib ramps are perceptually uniform.
okabe_ito8 colors
viridis9 colors
inferno10 colors
plasma10 colors
Using a palette
Pass any name above to a scale function, or call
ekio_pal() directly to pull hex codes out.
library(ggplot2)
ggplot(mtcars, aes(wt, mpg, color = factor(cyl))) +
geom_point(size = 3) +
scale_color_ekio_d("full") +
theme_ekio()
# Compact and accent alternatives
ekio_pal("cool3")
ekio_pal("full_muted")
ekio_pal("accent_orange", n = 5)
# Named access to any brand scale
ekio_pal("teal")["600"]
#> 600
#> "#006261"
# Interpolated to an arbitrary length
ekio_pal("blue_orange", n = 15)list_ekio_palettes() returns these names
programmatically, and ekio_pal() prints a swatch when
called at the console.
