Generate a color triad.
$ npm install hsl-triad
const hslTriad = require('hsl-triad');
hslRgb(340, 1, 0.5);
//=> [
//=> [340, 1, 0.5],
//=> [100, 1, 0.5],
//=> [220, 1, 0.5]
//=> ]
Type: number
Max: 360
The hue
Type: number
Max: 1
The saturation
Type: number
Max: 1
The lightness
Type: array
An array of arrays containing hsl
values.
MIT © Tobias Herber