davidmerfield / davidmerfield/randomColor
What determins a luminosity of "Bright"
- 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.