Tags » colour
TIL: Get a Palette colour as a command-line argument with Clap
Wrapping a
Palette:Srgb
in a struct and implementingFromStr
for the struct allows you to take hexadecimal colours as command-line inputs.Changing the macOS accent colour without System Preferences
Updating the accent colour everywhere, with immediate effect, using a script written in Swift.
TIL: 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.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.
Adjusting the dominant colour of an image
Adjusting the hue to get different colour variants of the same image.