colorSpec: Color Calculations with Emphasis on Spectral Data

Calculate with spectral properties of light sources, materials, cameras, eyes, and scanners. Build complex systems from simpler parts using a spectral product algebra. For light sources, compute CCT, CRI, and SSI. For object colors, compute optimal colors and Logvinenko coordinates. Work with the standard CIE illuminants and color matching functions, and read spectra from text files, including CGATS files. Estimate a spectrum from its response. A user guide and 9 vignettes are included.

Version: 1.5-0
Depends: R (≥ 3.5.0)
Suggests: spacesXYZ, rootSolve, MASS, quadprog, rgl, knitr, rmarkdown, spacesRGB, microbenchmark, arrangements
Enhances: plyr
Published: 2024-01-28
DOI: 10.32614/CRAN.package.colorSpec
Author: Glenn Davis [aut, cre]
Maintainer: Glenn Davis <gdavis at>
License: GPL (≥ 3)
Copyright: see file COPYRIGHTS
NeedsCompilation: no
Citation: colorSpec citation info
Materials: README NEWS
CRAN checks: colorSpec results


Reference manual: colorSpec.pdf
Vignettes: colorSpec User Guide
Phenol Red - pH Indicator
Photon Counting
Blue Flame and Green Comet - being a Spectral Analysis of Comet Vapor
Convexity and Transitions
Emulation of one Camera by another Camera
Viewing Object Colors in a Gallery
Estimating a Spectrum from its Response - Inverse Colorimetry
The Effect of the Aging Human Lens on Color Vision
Plotting Chromaticity Loci of Optimal Colors - the MacAdam Limits


Package source: colorSpec_1.5-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): colorSpec_1.5-0.tgz, r-oldrel (arm64): colorSpec_1.5-0.tgz, r-release (x86_64): colorSpec_1.5-0.tgz, r-oldrel (x86_64): colorSpec_1.5-0.tgz
Old sources: colorSpec archive

Reverse dependencies:

Reverse depends: interfr
Reverse imports: photobiologyInOut, Spectran
Reverse enhances: spacesXYZ


Please use the canonical form to link to this page.