mirror of
https://github.com/Art-Portal/April.git
synced 2024-11-16 11:37:37 +01:00
Remove forgotten }
This commit is contained in:
parent
fd889cd823
commit
0c94666f03
@ -27,7 +27,7 @@ async function generateRandomPalette() {
|
|||||||
const saturation = Math.random() * 40 + 50; // Random saturation between 50% and 90%
|
const saturation = Math.random() * 40 + 50; // Random saturation between 50% and 90%
|
||||||
const brightness = Math.random() * 40 + 50; // Random brightness between 50% and 90%
|
const brightness = Math.random() * 40 + 50; // Random brightness between 50% and 90%
|
||||||
|
|
||||||
const color = hslToHex(hue + i * (360 / numColors) , saturation} , brightness);
|
const color = hslToHex(hue + i * (360 / numColors) , saturation , brightness);
|
||||||
palette.push(color);
|
palette.push(color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user