Skip to content
Malexion edited this page Nov 6, 2016 · 1 revision

__.render.blend(hex1, hex2, percentage)

  • hex1 Primary hex to be used as the base.
  • hex2 Secondary hex to blend into the primary based on a percentage.
  • percentage Percentage blend for the hex.

Examples

var result = __.render.blend('#000000', '#ffffff', 0.25);

console.log(result);