Calculate the luminance of a given hex color code
-
Updated
Jun 20, 2024 - JavaScript
Calculate the luminance of a given hex color code
I always keep looking for the default html colors names, so I made a little code study that presents them all. The rgb value is copied to clipboard upon click. Text color is decided programmatically based on the luminance of the color swatch.
A web app based study for investigating the effect of object luminance in depth percerption
hues.js [HYOOZ] is a very, very simple zero-dependency javascript (tiny) tested colour library built for accessibility, RGBa and HSLa manupulation.
Miscellaneous color tools for the web developer.
Add a description, image, and links to the luminance topic page so that developers can more easily learn about it.
To associate your repository with the luminance topic, visit your repo's landing page and select "manage topics."