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.
1 parent 5e43dd7 commit 8e290f2Copy full SHA for 8e290f2
1 file changed
src/pages/palette/index.astro
@@ -17,7 +17,7 @@ const toHsl = (hsl: ColorFormat["hsl"]) => {
17
return `hsl(${Math.round(hsl.h)}deg, ${Math.round(hsl.s * 100)}%, ${Math.round(hsl.l * 100)}%)`;
18
};
19
const toOklch = (oklch: ColorFormat["oklch"]) => {
20
- return `oklch(${Math.round(oklch.l * 100)}%, ${Math.round(oklch.c * 100)}% ${Math.round(oklch.h)}deg)`;
+ return `oklch(${Math.round(oklch.l * 100)}%, ${Math.round(oklch.c * 100)}%, ${Math.round(oklch.h)}deg)`;
21
22
---
23
0 commit comments