Be the first to rate this file! 12 Downloads (last 30 days) File Size: 1.31 KB File ID: #41691

Blend Color

by Giacomo Alessandroni

 

09 May 2013 (Updated 01 Aug 2013)

BLENDCOLOR - Blend two colours specifying the fractional position

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File  
Everyone's Tags
color, image processing, interpolation, plot
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
11 Jul 2013

Fix bug

01 Aug 2013

Code more fast and elegant.

Contact us