Get the latest tech news

Dithering in Colour


Inspired by multiple posts on dithering, I set out to create a correct implementation of Atkinson dithering with support for RGB colour palettes. The post also outlines implementing linearising the colour-space and correcting for human perception.

If you want to play with dithering and different palettes yourself, check out ditherit.com, which has a pretty nice web interface. First, we failed to linearise the sRGB input image, which results in overly bright dithered outputs. But I hope that someone finds it helpful to have all resources and a basic explanation in one place… If you know more than me about colours and noticed any errors, please reach out!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of colour

colour

Related news:

News photo

Cqd: Colour my __dir__ please

News photo

Colour in the Middle Ages

News photo

The house paints that promise much more than colour