Blend Color

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

View License

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


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

ans =

0.8000 0.5200 0.3200

Cite As

Giacomo Alessandroni (2024). 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

Code more fast and elegant.

Fix bug