Blend Color

BLENDCOLOR - Blend two colours specifying the fractional position

You are now following this Submission

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 (2026). Blend Color (https://se.mathworks.com/matlabcentral/fileexchange/41691-blend-color), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.0

Code more fast and elegant.

1.2.0.0

Fix bug

1.0.0.0