minor fixes

This commit is contained in:
Jens Neuber 2022-01-03 16:23:23 +01:00
parent 1c5bce8afa
commit d74404e106
2 changed files with 2 additions and 2 deletions

View file

@ -387,6 +387,6 @@ exports.percentageToColor = (percentage, maxHue = 90, minHue = 10) => {
try {
return chroma(`hsl(${hue}, 90%, 40%)`).hex();
} catch (err) {
return "grey";
return "#999";
}
};