Blend Color

BLENDCOLOR - Blend two colours specifying the fractional position
470 Downloads
Updated 1 Aug 2013

View License

BLENDCOLOR return a color that is a percentage two colors in input, that blend to the specified percentage.

Example:

>> blendcolor([1 .4 .2], [0 1 .8], .2)

ans =

0.8000 0.5200 0.3200

Cite As

Giacomo Alessandroni (2024). Blend Color (https://www.mathworks.com/matlabcentral/fileexchange/41691-blend-color), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
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.3.0.0

Code more fast and elegant.

1.2.0.0

Fix bug

1.0.0.0