←back to thread

681 points NetOpWibby | 2 comments | | HN request time: 0s | source

Hey everyone,

About a year ago I embarked on creating a color scheme for a project and I loved it so much I began using it for everything. I decided to make an official repo for it to share with the world.

Anyhoo, hope y'all enjoy it.

Show context
swaraj ◴[] No.43074164[source]
Gotta love HN, only popular site in world where a list of hex codes on a nicely formatted website gets to top ranking
replies(2): >>43074304 #>>43074848 #
NetOpWibby ◴[] No.43074304[source]
*oklch codes

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

replies(1): >>43075749 #
1. qingcharles ◴[] No.43075749[source]
I love the color choices, but what's the reason for defining each color twice, once with a "raw"?
replies(1): >>43076068 #
2. NetOpWibby ◴[] No.43076068[source]
> 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...