davidmerfield / davidmerfield/randomColor
Exclude colors or hues
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 6.1k
- Forks
- 408
- PR merge metrics
- No merged PRs in 30d
Description
Extend the functionality to generate `N` (distinct) colors with a list of `excludes` that must not appear among the generated set. A typical example would be "background color" and "text color" (B&W).
The excludes should be considered as a part of the colors during the generation process, so the new colors are as far as possible from each other as well from the excludes, this is done in #50
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.