Open sebastianbreguel opened 1 month ago
No, there's not.
Internally, there's a _colors
dict with all the color names as keys. Although it's not part of the public interface, it's possible to use it for a fast lookup.
"Baby Blue" in colornames._colors
You have a function to make a fast color name validation?