Blend

Blend[{col1,col2},x]
gives a color obtained by blending a fraction of color and of color .

Blend[{col1,col2,col3,},x]
linearly interpolates between colors as x varies from 0 to 1.

Blend[{{x1,col1},{x2,col2},},x]
interpolates to give when .

Blend[{col1,col2,},{u1,u2,}]
blends all the , using fraction of color .

Blend[{image1,image2,},]
blends pixel values of 2D or 3D images .

DetailsDetails

  • Blend implements additive color mixing as appropriate for colored light sources or lightgenerating displays.
  • In Blend[{col1,,coln},{u1,,un}] the are normalized to have total 1. »
  • Blend[{col1,col2,}] blends equal fractions of all the .
  • In Blend[{image1,image2},x], if and are of different dimensions, linear interpolation of the dimensions is used.
  • Blend[{image,col},x] blends every pixels of image with the color col.
  • In Blend[{image1,col1,,coln,image2},x], is interpreted as an image whose dimensions are taken from a linear interpolation between dimensions of and .
Introduced in 2007
(6.0)
| Updated in 2014
(10.0)