Skip to content

Colours ----- Setting the font colour according to the background colour of element, trying to maximize the contrast.

Notifications You must be signed in to change notification settings

gFelicio/colours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colours

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.

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

No packages published