Learn R Programming

swatches (version 0.5.0)

Read, Inspect, and Manipulate Color Swatch Files

Description

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 .

Copy Link

Version

Install

install.packages('swatches')

Monthly Downloads

159

Version

0.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Bob Rudis

Last Published

December 21st, 2017

Functions in swatches (0.5.0)

read_palette

Read colors from palette files
read_soc

Read colors from OpenOffice Palette (SOC) files
trim_palette

Try to intelligently reduce a large palette down to a reasonable smaller set of colors
read_gpl

Read colors from GIMP Palette (GPL) files
read_kde

Read colors from KDE Palette (colors) files
show_palette

Display a color palette
swatches

Read, Inspect, and Manipulate Color Swatch Files
read_aco

Read colors from Adobe Color (ACO) files
read_ase

Read colors from Adobe Swatch Exchange (ASE) files