image thumbnail

RGB to HSL

version 1.0.0.0 (1.58 KB) by Suresh Joel
Convert from RGB to HSL and HSL to RGB.

7.6K Downloads

Updated 31 Mar 2016

View License

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

Cite As

Suresh Joel (2021). 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!