color-string will incorrectly return a color object for things like "constructor" and "__proto__".
Here is an example of all of them:

https://runkit.com/tolmasky/color-string-prototype-bug
If one adds other properties to Object.prototype, those will also be mis-identified as colors.
color-stringwill incorrectly return a color object for things like "constructor" and "__proto__".Here is an example of all of them:
https://runkit.com/tolmasky/color-string-prototype-bug
If one adds other properties to Object.prototype, those will also be mis-identified as colors.