Hacker News new | ask | show | jobs
by swaraj 487 days ago
Gotta love HN, only popular site in world where a list of hex codes on a nicely formatted website gets to top ranking
2 comments

*oklch codes

And trust me, I didn't expect to get more than 10 upvotes max. I'm slightly bewildered.

I love the color choices, but what's the reason for defining each color twice, once with a "raw"?
> If you want more granularity (read: opacity), you can call the raw version of the color (append -raw to the variable name) which will return the OKLCH values so you can do something like this: oklch(var(--uchu-gray-1-raw) / 40%).

via https://github.com/NeverCease/uchu/blob/primary/documentatio...

technically, all websites are just a bunch of nicely formatted hex codes.