RGB to HSL

Convert from RGB to HSL and HSL to RGB.
7.8K Downloads
Updated 31 Mar 2016

View License

Functions to convert RGB colorspace to HSL colorspace and vice-versa.

Cite As

Suresh Joel (2024). RGB to HSL (https://www.mathworks.com/matlabcentral/fileexchange/3360-rgb-to-hsl), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: hsl2rgb and rgb2hsl conversion

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

License update