blend

blend given colors and get result


Parameters

blend colorA :color
      colorB :color

Attributes

balance:floatinguse different mix of color (0.0-1.0, default:0.5)

Returns

  • :color

Examples

copy
blend #red #CCCCCC ; => #E66666

copy
blend .balance: 0.75 #red #CCCCCC ; => #D99999

Related