frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: An OKLCH-based perceptually uniform color system/theme builder

https://colorphreak.com
5•kurainox•3h ago
I've been using a version of this internally for a few months but decided to polish it a little to finally deploy it.

It's a color system generator that creates accessible, perceptually uniform color palettes using the OKLCH space. It takes one seed (primary) color, generates relative key colors from multiple color harmony schemes (analogous, complementary, etc) that are then used to create 26-step color ramps each. Shades from the ramps are then used to generate semantic color roles, or can be used for creating custom palettes.

All colors are gamut-mapped to the sRGB gamut with chroma reduction, essentially preserving lightness and hue values while finding the maximum in-gamut chroma for each step.

There are obvious similarities to Material Design Themes, mostly because I'm visually pretty comfortable with it. Plus, I started this project back when some of the colors generated by Material could be a little dull and I wanted to learn/build something like this from the ground up.

There are a couple of improvements I would like to make to this in the near future. The first one is a dynamic chroma curve (the chroma falloffs for the ramps are on a bell curve). At the moment, the chroma curve peaks at L ~0.55 for all hue ranges, which works good enough but isn't ideal for a few reasons. The second one would be adding seed color extraction from images. And maybe a built-in contrast checker.

If you find the tool helpful and/or have any feedback or suggestions, let me know.

Comments

slig•2h ago
Thank you for sharing!

I have a suggestion: consider exporting for shadcn as well.

Show HN: Built a tool solve the nightmare of chunking tables in PDF vs. Markdown

https://github.com/2dogsandanerd/smart-ingest-kit
2•2dogsanerd•15m ago•0 comments

Show HN: OhNiceRepo – Easily discover trending GitHub gems and repos

https://ohnicerepo.pages.dev
2•behnamazimi•25m ago•0 comments

Show HN: Genesis DB now provides a full gRPC API alongside HTTP

https://www.genesisdb.io/blog/posts/2025-11-23/grpc-endpoint
2•patriceckhart•1h ago•0 comments

Show HN: Forty.News – Daily news, but on a 40-year delay

https://forty.news
382•foxbarrington•1d ago•147 comments

Show HN: Makefiles, Metalanguages, Matrioshka Automata

https://robot-wranglers.github.io/compose.mk/
2•robot-wrangler•2h ago•0 comments

Show HN: Build the habit of writing meaningful commit messages

https://github.com/arpxspace/smartcommit
93•Aplikethewatch•22h ago•115 comments

Show HN: A tool to safely migrate GitHub Actions workflows to Ubuntu-slim runner

https://github.com/fchimpan/gh-slimify
65•r4mimu•1w ago•3 comments

Show HN: An OKLCH-based perceptually uniform color system/theme builder

https://colorphreak.com
5•kurainox•3h ago•1 comments

Show HN: I built a wizard to turn ideas into AI coding agent-ready specs

https://vibescaffold.dev/
61•straydusk•22h ago•33 comments

Show HN: Wealthfolio 2.0- Open source investment tracker. Now Mobile and Docker

https://wealthfolio.app/?v=2.0
658•a-fadil•2d ago•207 comments

Show HN: Curious about tones in Chinese? An extension for language learners

https://github.com/mreichhoff/ChineseLearningExtension
2•mreichhoff•2h ago•0 comments

Show HN: Dank-AI – Ship production AI agents 10x faster

https://www.dank-ai.xyz/
3•deltadarkly•13h ago•3 comments

Show HN: My hobby OS that runs Minecraft

https://astral-os.org/posts/2025/10/31/astral-minecraft.html
234•avaliosdev•5d ago•32 comments

Show HN: PolyGPT – ChatGPT, Claude, Gemini, Perplexity responses side-by-side

https://polygpt.app
22•ncvgl•1d ago•13 comments

Show HN: better-env – A Secure, Developer-Friendly Alternative to .env

https://better-env.dev/docs
6•harish3304•11h ago•2 comments

Show HN: 32V TENS device from built from scratch under $100

https://littlemountainman.github.io/2025/11/17/tens/
68•autonomydriver•6d ago•25 comments

Show HN: Search London StreetView panoramas by text

https://london.publicinsights.uk
25•dfworks•3d ago•11 comments

Show HN: Vibe Prolog

https://github.com/nlothian/Vibe-Prolog
44•nl•4d ago•9 comments

Show HN: Server Survival – Tower defense game for learning cloud architecture

https://github.com/pshenok/server-survival
6•pshenok•13h ago•2 comments

Show HN: F32 – An Extremely Small ESP32 Board

https://github.com/PegorK/f32
299•pegor•3d ago•51 comments

Show HN: I made a down detector for down detector

https://downdetectorsdowndetector.com
584•gusowen•4d ago•169 comments

Show HN: I built a synth for my daughter

https://bitsnpieces.dev/posts/a-synth-for-my-daughter/
1275•random_moonwalk•1w ago•209 comments

Show HN: HN Insights – HN front page summaries

https://hn-insights.com
8•mobrienv•22h ago•1 comments

Show HN: Eidos – AI IDE that generates and edits game prototypes instantly

https://kaausia45-jpg.itch.io/eidos-ai-prototype-ide
4•symbol_reasoner•17h ago•0 comments

Show HN: Awesome J2ME

https://github.com/hstsethi/awesome-j2me
79•catstor•3d ago•54 comments

Show HN: RowboatX – open-source Claude Code for everyday automations

https://github.com/rowboatlabs/rowboat
130•segmenta•5d ago•41 comments

Show HN: Onlymaps, a Python Micro-ORM

https://github.com/manoss96/onlymaps
4•werden-wissen•1d ago•0 comments

Show HN: ESPectre – Motion detection based on Wi-Fi spectre analysis

https://github.com/francescopace/espectre
213•francescopace•6d ago•50 comments

Show HN: A privacy-first, client-side toolbox (PDF, Imgs, Dev) no server uploads

https://linu.li
3•immineal•22h ago•0 comments

Show HN: HN Buffer – A read-it-later site for your HN favorites

https://hnbuffer.com
5•shaarmar•22h ago•0 comments