swatches: Read, Inspect, and Manipulate Color Swatch Files

There are numerous places to create and download color palettes. These are usually shared in 'Adobe' swatch file formats of some kind. There is also often the need to use standard palettes developed within an organization to ensure that aesthetics are carried over into all projects and output. Now there is a way to read these swatch files in R and avoid transcribing or converting color values by hand or or with other programs. This package provides functions to read and inspect 'Adobe Color' ('ACO'), 'Adobe Swatch Exchange' ('ASE'), 'GIMP Palette' ('GPL'), 'OpenOffice' palette ('SOC') files and 'KDE Palette' ('colors') files. Detailed descriptions of 'Adobe Color' and 'Swatch Exchange' file formats as well as other swatch file formats can be found at <>.

Version: 0.5.0
Depends: R (≥ 3.2.0)
Imports: httr, pack, stringr, xml2, tools, colorspace, grDevices, graphics, methods, stats
Suggests: testthat, covr
Published: 2017-12-21
DOI: 10.32614/CRAN.package.swatches
Author: Bob Rudis ORCID iD [aut, cre]
Maintainer: Bob Rudis <bob at>
License: MIT + file LICENSE
NeedsCompilation: yes
CRAN checks: swatches results


Reference manual: swatches.pdf


Package source: swatches_0.5.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): swatches_0.5.0.tgz, r-oldrel (arm64): swatches_0.5.0.tgz, r-release (x86_64): swatches_0.5.0.tgz, r-oldrel (x86_64): swatches_0.5.0.tgz


Please use the canonical form to link to this page.