Spectral and XYZ Color Functions

Label plots with spectra. Convert wavelengths to RGB. Functions for color matching and illuminants.

Download
Download

You are now following this Submission

Cite As

Julianna Mather (2026). Spectral and XYZ Color Functions (https://www.mathworks.com/matlabcentral/fileexchange/7021-spectral-and-xyz-color-functions), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Perceptually improved colormaps

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

BSD License

Download
1.0.0

Download