Qix- / color-convert

Plain color conversion functions in JavaScript
MIT License
746 stars 96 forks source link

Multiple keywords on 'convert.keyword.rgb()' #70

Closed iGabyTM closed 5 years ago

iGabyTM commented 5 years ago

I have tried to use 'Dark Red' as keyword but it doesn't recognize it. Do you have a list with accepted words?

Qix- commented 5 years ago

Hi! You want darkred.

We use the standardized CSS color names for keywords - a full list can be seen here: https://drafts.csswg.org/css-color/#named-colors

iGabyTM commented 5 years ago

Thank you very much @Qix- !!