Last but not least, if you're working with color values in #golang, check out "gamut", a little library I wrote that provides a ton of convenient color theory methods.
It can also generate and handle color palettes for you 😊
Blog post introducing gamut:
https://fribbledom.com/posts/gamut-package-to-handle-color-palettes/
GitHub Repo:
https://github.com/muesli/gamut