colornames
colornames copied to clipboard
Gray vs Grey
The name "gray" return hex code but "grey" doesn't. On the otherhand, it's the otherway around for "lightgray" and "lightgrey".
Using the following code for the time being.
toHex(name.replace("gray", "grey")) || toHex(name.replace("grey", "gray"));