In case anyone is looking, there are many tools for that, e.g.:
https://color.adobe.com/create/image
https://qtiptip.github.io/Pylette/
https://extract-colors.namide.com/