A simple JavaScript script which randomly generates a coloured box and sets a black or white font for the text displayed in it according to its luminance.
-
Notifications
You must be signed in to change notification settings - Fork 0
gFelicio/colours
About
Colours ----- Setting the font colour according to the background colour of element, trying to maximize the contrast.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published