Quote (kdog3682 @ May 6 2019 11:51pm)
https://pastebin.com/350qHczYThe output should be all the hexcodes with a umbrella color for each.
Write your js code in codepen or jsfiddle.
Example:
Red
1. #FFEBEE
2. #FFCDD2
3. #EF9A9A
...
Yellow
1. ...
And so on.
And so on.
color groups are subjective. can you post exactly which groups you want? red can include salmonish colors, but so can pink or orange..
there are multiple ways to define rules for sorting in groups.
one example is 3 groups, based on highest value (#xxyyzz where xx > yy && xx > zz means it's red)
if you look at
https://www.w3schools.com/colors/colors_groups.asp you can see how there is overlap between groups.
This post was edited by Touta on May 7 2019 09:56am