Comment

Comment by jasonthorsness

Beautiful palette!

CSS recently has been adding way more color features, here's the palette represented in oklch:

    #817 → oklch(0.44 0.1815   335.38)
    #a35 → oklch(0.51 0.1559     7.49)
    #c66 → oklch(0.63 0.1298    21.44)
    #e94 → oklch(0.75 0.1415    62.42)
    #ed0 → oklch(0.88 0.18646  103.9148)
    #9d5 → oklch(0.82 0.181    131.77)
    #4d8 → oklch(0.80 0.1757   154.39)
    #2cb → oklch(0.76 0.1298   184.05)
    #0bc → oklch(0.72 0.123861 206.321)
    #09c → oklch(0.64 0.129199 231.0549)
    #36b → oklch(0.52 0.1448   260.03)
    #639 → oklch(0.44 0.1603   303.37)
You can see the lightness and chroma moving within a narrow range as it sweeps the hue. These new color space functions make making palettes like this way easier.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton