davidmerfield / davidmerfield/randomColor

What determins a luminosity of "Bright"

Open
#118 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
6.1k
Forks
408
PR merge metrics
No merged PRs in 30d

Description

@davidmerfield -- How are you defining "Bright" colors for RandomColor? I am attempting to write a numerical test for "bright" colors, and am wondering how it is defined in generation. From what I can see, it looks like the minumum saturation should be 55, however I can use this piece of code:

```javascript
console.log(
randomColor({
seed: 2019021101,
luminosity: 'bright',
count: 5,
format: 'hslArray'
})
);
```

And the first color I get turns out to be [ 191, 53.43, 54.905 ], which has an S value lower than that. Can you please clarify?

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.