KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm looking for a way, with jQuery ideally, to determine the correct text color, based on the brightness of the background color? E.g. white background, black text colour. I believe this could be done crudely with adding the HEX value and guesstimating but does anyone know a better way or jQuery way to do this?
Tags (comma-separated)
Save Edits
Cancel