The least wrong colors, version 2 0 ▲ The personal website of Matt Ström-Awn 1 hour ago · 7 min read1309 words · Tech · hide · 0 comments Four years ago, I wrote “How to pick the least wrong colors.” The gist is: picking a categorical color palette is an optimization problem. There’s no such thing as the right colors. But if you use the right cost function, and the right kind of hill climbing, you can at least get the least wrong ones. Since the original post I’ve been slowly picking away at improvements and new approaches. Now that we’re past the singularity, I’ve put a few coding robots on the job. It’s reassuring that many of my assumptions were good ones! The robots have been able to improve the code, bridging some of the gaps in my own knowledge. Today, I’m publishing an updated version of the algorithm as an npm package, along with a fancy GUI version. While there’s still more to do, I’m proud of how far I’ve been able to take it. What’s newNew evaluatorsMore controlsThe public API and a CLIWhat’s improvedThe annealing algorithmConfigurable color space and distance metricThe resultsOne more… No comments yet. Log in to reply on the Fediverse. Comments will appear here.