(require("view/viz/colorBlender"))(f, colors) → {String}
Blend colors in given proportions.
Parameters:
Name | Type | Description |
---|---|---|
f |
Array.<Number> | proportions of colors, as fraction of 1. |
colors |
Array.<Array.<Number>> | list of lists. rgb colors. |
- Source:
Returns:
- Color
- Type
- String