I love code and design in equal measure so i opted for a unique blend of both allowing me to tackle a space where there is no longer a gap between what you can draw and what you can build.
Pinned Loading
-
-
luminence.js
luminence.js 1module.exports = (red, green, blue) => {
2const rs = red / 255;
3const gs = green / 255;
4const bs = blue / 255;
5 -
contrast.js
contrast.js 1module.exports = (foreground, background) => {
2const l1 = Math.max(foreground, background);
3const l2 = Math.min(foreground, background);
45return (l1 + 0.05) / (l2 + 0.05);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.