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.2.2 | 
| Depends: | R (≥ 2.10) | 
| Imports: | vctrs, cli, methods, pillar, rlang (≥ 1.0.0), purrr, prismatic, farver (≥ 2.0.3), ggplot2 (≥ 3.5.0), scales, tibble | 
| Suggests: | pkgdown, testthat (≥ 3.0.0), dplyr, knitr (≥ 1.22), rmarkdown (≥ 2.20), colorspace, gt (≥ 0.9.0), biscale, sf, patchwork, MetBrewer, nord, PNWColors, viridisLite, covr, grDevices, withr | 
| Published: | 2025-07-01 | 
| DOI: | 10.32614/CRAN.package.palettes | 
| Author: | Michael McCarthy [aut, cre, cph] | 
| Maintainer: | Michael McCarthy <m.mccarthy1624 at gmail.com> | 
| BugReports: | https://github.com/mccarthy-m-g/palettes/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://mccarthy-m-g.github.io/palettes/, https://github.com/mccarthy-m-g/palettes | 
| NeedsCompilation: | no | 
| Language: | en-GB | 
| Materials: | README, NEWS | 
| CRAN checks: | palettes results | 
| Reference manual: | palettes.html , palettes.pdf | 
| Vignettes: | Using palettes with biscale (source, R code) Compatibility with other colour packages (source, R code) Creating a colour palette package (source, R code) Using palettes with ggplot2 (source, R code) Using palettes with gt (source, R code) palettes (source, R code) | 
| Package source: | palettes_0.2.2.tar.gz | 
| Windows binaries: | r-devel: palettes_0.2.2.zip, r-release: palettes_0.2.2.zip, r-oldrel: palettes_0.2.2.zip | 
| macOS binaries: | r-release (arm64): palettes_0.2.2.tgz, r-oldrel (arm64): palettes_0.2.2.tgz, r-release (x86_64): palettes_0.2.2.tgz, r-oldrel (x86_64): palettes_0.2.2.tgz | 
| Old sources: | palettes archive | 
Please use the canonical form https://CRAN.R-project.org/package=palettes to link to this page.