I have PDF files for designs and I'm wondering if there is any way I can extract the colors (as RGBA, RGB or HEX).
The best would be to annotate the PDF with the colors.
A command line tools would be awesome.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
sudo apt-get update && sudo apt-get install imagemagick
identify -verbose /path/to/PDF.pdf