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