casesandberg / casesandberg/react-color

Allow to set default hue

Open
#623 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

If color you choose have Saturation=0 or Lightness=0 (such as `#ffffff`), picker defaults to Hue=0 (red). It would be useful to allow to provide default hue in cases where one color is preferred.

Example:
You have multiple pickers next to each other that defines UI color schema. Some colors have no saturation nor lightness. This causes color picker to be red. If all other colors are greenish, it looks visually unpleasant and can confuse an user.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.