frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pro Color Harmonies – A library for color harmonies

https://meodai.github.io/pro-color-harmonies/
1•meodai•15m ago
Hi HN,

I built a TypeScript library for generating color harmonies that prioritise human perception over simple math.

Most color libraries generate harmonies using simple hue rotations in HSL or HSV (e.g., Complementary = Hue + 180°). While mathematically "correct," this often produces unbalanced results—yellows become muddy browns, and perceived lightness varies wildly between hues.

Pro Color Harmonies works entirely in the OKLCH color space. Instead of rigid formulas, it uses perceptual "styles" and "magic numbers" (heavily inspired by Ryan Feigenbaum's research) to generate palettes that feel naturally balanced.

Key Features:

- Muddy Zone Avoidance: The algorithm actively steers hues away from unappealing areas (like dark, desaturated yellows).

- 4 Harmony Styles: Instead of just one "Triadic" formula, you can choose between Square (geometric), Triangle (balanced), Circle (expressive), and Diamond (luminosity-aware for UIs).

- Modifiers: Includes post-processing algorithms (Sine, Wave, Zap, Block) to add organic variation and texture to the generated scales.

It's written in TypeScript, has zero dependencies for the core logic, and is MIT licensed.

The demo lets you tune explore the capabilities of the lib and shows you how to call the function if you scroll down.

https://github.com/meodai/pro-color-harmonies

I'd like to hear your feedback on the generated palettes and especially the API.

General Service

1•tenashas•13s ago•0 comments

We Can Now Track Individual Monarch Butterflies. It's a Revelation

https://www.nytimes.com/2025/11/17/science/monarch-butterfly-migration-tracking-sensor.html
1•geox•1m ago•0 comments

The Algorithm That Stabilizes Distributed Systems When the Leader Fails

https://medium.com/@venkateshwagh777/the-one-algorithm-that-makes-distributed-systems-stop-fallin...
1•birdculture•1m ago•0 comments

Axios: Promise based HTTP client for the browser and Node.js

https://axios-http.com/
1•eustoria•1m ago•0 comments

How classic anime'Ghost in the Shell'predicted cybersecurity future 30 years ago

https://techcrunch.com/2025/11/19/how-the-classic-anime-ghost-in-the-shell-predicted-the-future-o...
1•bookofjoe•2m ago•0 comments

Call Center AirAsia Kendari

1•FreeTheMasons•2m ago•0 comments

Management Pseudo-Science

https://laser-coder.net/articles/management-pseudo-science/index.html
1•lasercoder•4m ago•0 comments

Call Center AirAsia Denpasar

1•FreeTheMasons•4m ago•0 comments

Steam Machine will be a PC – not a console

https://www.wired.com/story/valve-says-steam-machine-isnt-a-console-but-it-is/
1•Irtaza1•4m ago•0 comments

Social Comparison Bias

https://en.wikipedia.org/wiki/Social_comparison_bias
1•RickJWagner•10m ago•0 comments

Is Apple Intelligence Smart? We Tested Every Feature

https://www.steaktek.com/tech/is-apple-intelligence-actually-smart-we-tested-every-feature/
2•genuser•11m ago•1 comments

Show HN: Styleframe – Type-Safe, Composable CSS in TypeScript

https://www.styleframe.dev
2•alexgrozav•12m ago•0 comments

Built emdashkill to fix AI copy

https://emdashkill.com/
1•jbbryant•15m ago•0 comments

Show HN: Pro Color Harmonies – A library for color harmonies

https://meodai.github.io/pro-color-harmonies/
1•meodai•15m ago•0 comments

Event Sourcing Done Right: A Practical Best Practices Guide

https://www.eventsourcing.dev/best-practices
1•patriceckhart•16m ago•0 comments

Show HN: Another AI Chat Aplication

https://nexchat.akashdev.me/
2•akash100x•20m ago•0 comments

How to eat with others – Mike Monteiro

https://buttondown.com/monteiro/archive/how-to-eat-with-others/
2•thecosas•22m ago•0 comments

Finding it hard to get users to discover new features

1•Praisethegreat•22m ago•0 comments

Using LLMs for Late Multimodal Sensor Fusion for Activity Recognition

https://machinelearning.apple.com/research/multimodal-sensor-fusion
1•jonbaer•24m ago•0 comments

Computer Science – A Guide for the Perplexed • Joe Armstrong [video]

https://www.youtube.com/watch?v=rmueBVrLKcY
1•kerim-ca•24m ago•0 comments

New Apple Study Shows LLMs Can Tell What You're Doing from Audio and Motion Data

https://9to5mac.com/2025/11/21/apple-research-llm-study-audio-motion-activity/
2•andrewrn•24m ago•2 comments

FonkETH: Peer-to-Peer Protocol-Agnostic Mining Pool Layer

https://github.com/Arvmor/fonketh
1•Arvmor•25m ago•1 comments

The Full Text of the Wyoming Granite Act: The Pro-Free Speech Death Star

https://prestonbyrne.com/2025/11/19/the-full-text-of-the-wyoming-granite-act/
1•pjbyrne•25m ago•0 comments

Dell Intel Core Ultra 5 Slim Desktop Hits Its Lowest Price Ahead of Black Friday

https://kotaku.com/prime-members-can-snag-the-dell-slim-desktop-ecs1250-for-580-but-the-deal-ends...
1•PaulHoule•26m ago•1 comments

We built a world‑class reranker for RAG

https://fin.ai/research/how-we-built-a-world-class-reranker-for-fin/
2•mathcircler•27m ago•1 comments

Failure Is Required

https://theaiunderwriter.substack.com/p/failure-is-required
2•participant26•28m ago•0 comments

Use Git push –force-with-lease (2017)

https://brunoluiz.net/blog/2017/jun/are-you-using-git-push-force-oh-mate-you-are-doing-it-wrong/
3•gm678•28m ago•0 comments

After 6 years of promises and no shipping silicon, Tachyum revises CPU specs

https://www.tomshardware.com/pc-components/cpus/after-six-years-of-promises-and-no-shipping-silic...
2•pinewurst•29m ago•0 comments

AI Is the New Blockchain

https://defragzone.substack.com/p/ai-is-the-new-blockchain
2•frag•29m ago•0 comments

Final experimental result for the muon still challenges theorists

https://phys.org/news/2025-11-experimental-result-muon-theorists.html
2•Brajeshwar•29m ago•0 comments