to-color icon indicating copy to clipboard operation
to-color copied to clipboard

Procedurally generate a deterministic, perceptually distributed color palette.

Results 2 to-color issues
Sort by recently updated
recently updated
newest added

This PR adds a new `limit` option that limits the hue range of a color passed. ```js const color = new toColor('hi', { limit: ['blue'] }); ``` The goal is...

The brightness bounds for a blue hue like this is too dark and has poor legibilty: The bounds here https://github.com/mapbox/to-color/blob/d03ecd136a572dc81081c6b8b17454fac9b51e29/src/index.js#L182 should be adjusted by using a higher brightness values