Convert wavelength of light in representative color

version 1.1 (1.12 KB) by Urs Hofmann
This tool converts a wavelength provided in nm into a representative color.

259 Downloads

Updated 9 Jul 2020

From GitHub

View License on GitHub

Converts a wavelength provided in nm into a color in either rgb or hsv space. For illustration purposes only, to get true colors corresponding to a certain wavelength ones needs to look deeper.

Principle was stolen from
https://academo.org/demos/wavelength/

Cite As

Urs Hofmann (2022). Convert wavelength of light in representative color (https://github.com/razanskylab/wavelength2rgb/releases/tag/1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.