arlas-d3 / Exports / ColorGenerator
Interface: ColorGenerator
Table of contents
Methods
Methods
getColor
▸ getColor(key
, keysToColors?
, colorsSaturationWeight?
): string
Parameters
Name | Type |
---|---|
key |
string |
keysToColors? |
[string , string ][] |
colorsSaturationWeight? |
any |
Returns
string
Defined in
src/utils/color-generator.ts:20