Update index.js

Reduce the lightness from 50% to 40%.
This commit is contained in:
Wolfgang
2022-04-17 11:22:56 -03:00
committed by GitHub
parent 6d79bf4c0a
commit f3547450fa

View File

@@ -45,7 +45,7 @@ try {
} else { } else {
hue = Math.floor((max - val) / (max - min) * 120); hue = Math.floor((max - val) / (max - min) * 120);
} }
content.color = "hsl(" + hue + ", 100%, 50%)"; content.color = "hsl(" + hue + ", 100%, 40%)";
} else if (color != '') { } else if (color != '') {
content.color = color; content.color = color;
} }