Check if a color is dark color or not.
For example:
const textColor = isDark(someColor) ? 'white' : 'black'; Copy
const textColor = isDark(someColor) ? 'white' : 'black';
Generated using TypeDoc
Check if a color is dark color or not.
For example: