let turquoise = new Color("oklch(.7 .1 180)");
// Custom functional format:
turquoise.toString({format: {
name: "oklch",
coords: [
"<percentage>[0, 255]",
"<number>",
"<angle>"
]
}})
Created
April 19, 2024 19:16
-
-
Save LeaVerou/80cf3f377267a0380edbf59db1bf0db0 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment