Change the saturation of a color by ratio from 0 to 1.0

Version 1.0.0.0 (1.08 KB) by Tuan Anh
This function change the saturation of an RGB color by a ratio from 0 to 1.0
217 Downloads
Updated 9 Jul 2013

View License

Example : [r g b] = changeSaturation (1 , 1 ,0 , 0.5)

Cite As

Tuan Anh (2024). Change the saturation of a color by ratio from 0 to 1.0 (https://www.mathworks.com/matlabcentral/fileexchange/42551-change-the-saturation-of-a-color-by-ratio-from-0-to-1-0), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
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!
Version Published Release Notes
1.0.0.0