davidmerfield / davidmerfield/randomColor

Exclude colors or hues

Open
#58 5 comments 5 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.