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

Blend Color

by

 

09 May 2013 (Updated )

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   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