hsv2hsl
Version 1.0.0.0 (1.24 KB) by
Sander Verhaeven
converts colours from the HSV to the HSL colour space
A simple function that converts colours from the HSV to the HSL colour space.
The HSV values must be in the range from 0 to 1. The input values can be an array with 3 elements or a matrix where each column corresponds to respectively the Hue, Saturation and Value.
The HSL values are displayed in the range from 0 to 1.
Cite As
Sander Verhaeven (2025). hsv2hsl (https://se.mathworks.com/matlabcentral/fileexchange/40910-hsv2hsl), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Images > Convert Image Type >
Find more on Convert Image Type in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
