Colours
I love splashing things in colour, and I’ve built a number of tools and projects to help me do things with colour. These entries are about exploring colour and bringing mroe of it into my life.
5 articles
Using perceptual distance to create better headers
I started picking colours for my site headers with a more perceptually uniform approach, so their colours look more correct to the human eye.
Changing the macOS accent colour without System Preferences
Updating the accent colour everywhere, with immediate effect, using a script written in Swift.
Find the dominant colours in an image in your web browser
Wrapping my CLI tool for finding dominant colours in a lightweight web app.
Drawing coloured squares/text in my terminal with Python
Changing the accent colour of ICNS icons
Playing with macOS ICNS image files to create colourful new icons.
2 notes
Get a Palette colour as a command-line argument with Clap
Wrapping a
Palette:Srgbin a struct and implementingFromStrfor the struct allows you to take hexadecimal colours as command-line inputs.How to use hex colours with the palette crate
You can use
Srgb::from_str()to parse a hexadecimal string as a colour in the palette crate.

