Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a PDF and I want to verify the colours being used (check that they match our corporate colour scheme for instance). Specifically, I want to check that the correct CMYK colours are being used.

How could I go about doing that?

share|improve this question
What do you mean with verify? – Bernhard Oct 17 '12 at 10:45
@Bernhard I want to check a PDF is using the corporate colours. – Alex Chamberlain Oct 17 '12 at 10:53
Maybe use gcolor and click on the texts? – warl0ck Oct 17 '12 at 23:44

You can import the PDF file into a software like Inkscape and there you can do what you want, including a color check.

share|improve this answer
Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI. – Alex Chamberlain Oct 17 '12 at 13:05

Maybe identify from imagemagick suite will fit your needs?

Use it with -verbose switch to get information about colors:

identify -verbose file.pdf
share|improve this answer
Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently – Full Decent Dec 24 '15 at 16:27
Although it fails silently, that fact is documented at imagemagick.org/script/formats.php – Full Decent Dec 24 '15 at 16:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.