contrast-color
Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
hex2rgb
Converts hex color to rgb and calculates appropriate corresponding foreground.
counter-color
Helps to determine what color of text goes best for a given background, light or dark (and vice versa).
electron-overlay-window
[](https://www.npmjs.com/package/electron-overlay-window)