2 Matching Annotations
  1. Jan 2024
    1. Christian Lawson-Perfect @christianp@mathstodon.xyz@liseo there are lots of ways of representing colours numerically. The most basic way that computers use is to use a number between 0 and 255 for each of the red, green and blue components, called RGB encoding. The problem with that is that colours that look close to each other don't necessarily have close RGB values. There are other colour spaces which try to get closer to the ideal of having similar colours close together. Oklab, which I use in this tool, is currently the best for that.


      Is there a way to mathematically encode colors, similar to RGB perhaps, such that the colors in nearby neighborhoods all have values close to each other?