Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function color(str) {
return interpolateRainbow(adler32(str) / 32640);
}
.range(_.map(keys, (_key, index) => interpolateRainbow(index / keys.length)));