palettes: Methods for Colour Vectors and Colour Palettes

Provides a comprehensive library for colour vectors and colour palettes using a new family of colour classes (palettes_colour and palettes_palette) that always print as hex codes with colour previews. Capabilities include: formatting, casting and coercion, extraction and updating of components, plotting, colour mixing arithmetic, and colour interpolation.

Version: 0.1.1
Depends: R (≥ 2.10)
Imports: vctrs, cli, methods, pillar, rlang (≥ 1.0.0), purrr, prismatic, farver (≥ 2.0.3), ggplot2, scales, tibble
Suggests: pkgdown, testthat (≥ 3.0.0), dplyr, knitr, rmarkdown, colorspace, gt, biscale, sf, patchwork, MetBrewer, nord, PNWColors, viridisLite, covr, grDevices
Published: 2023-01-12
Author: Michael McCarthy [aut, cre, cph]
Maintainer: Michael McCarthy <m.mccarthy1624 at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-GB
Materials: README NEWS
CRAN checks: palettes results


Reference manual: palettes.pdf
Vignettes: Using palettes with biscale
Compatibility with other colour packages
Creating a colour palette package
Using palettes with ggplot2
Using palettes with gt


Package source: palettes_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): palettes_0.1.1.tgz, r-oldrel (arm64): palettes_0.1.1.tgz, r-release (x86_64): palettes_0.1.1.tgz, r-oldrel (x86_64): palettes_0.1.1.tgz
Old sources: palettes archive


Please use the canonical form to link to this page.