We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b03aabf + 8a45313 commit 0d23a3cCopy full SHA for 0d23a3c
resources/assets/js/projects/components/charts/IDToColor.js
@@ -16,6 +16,5 @@ export function IDToColor(id) {
16
const hue = id % 360;
17
const saturation = 70 + (id % 31); // Ensure saturation is between 70 and 100
18
const lightness = 70 + (id % 21); // Ensure lightness is between 70 and 90
19
-
20
- return `hsl(${hue} ${saturation}% ${lightness}%)`;
+ return `hsl(${hue}, ${saturation}%, ${lightness}%)`;
21
}
0 commit comments