TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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


Am using TeX Live 2012, pdflatex, and latexmk to produce the document, on Ubuntu Linux.


In the following image, Okular is shown on the left and Adobe Acrobat Reader is shown on the right.

Okular vs Acrobat Reader

The images in the document most likely contain various colour spaces. The colours in Okular are desired (and shown as coded in the LaTeX); whereas, the colours in Acrobat Reader are not desired.

I have read a few different questions on this topic, including:


What is most likely the problem with the colours in Adobe Acrobat Reader, and how should I resolve it?


I was thinking that the problem might be caused by having images in multiple color spaces. If that's the case, then I could resolve it by running the images through ImageMagick.

The alternative is to use xcolor, as suggested.

share|improve this question
Why do you think that Okular (rather than Adobe) handles everything correctly? – Igor Kotelnikov Feb 26 '13 at 2:37
perhaps this answer helps tex.stackexchange.com/questions/9261/… – prettygully Feb 26 '13 at 2:52
@IgorKotelnikov: You are correct; I have rephrased the question. – Dave Jarvis Feb 26 '13 at 2:55
Are you on a Linux machine? I found that the Linux version of the Acrobat Reader shows ugly colours for figures generated by R and RTikzDevice. The colours are fine in okular and in the Windows version of the Reader. – sebschub Feb 26 '13 at 9:15
up vote 3 down vote accepted

The following lines were added to the preamble:

\pdfpageattr {/Group << /S /Transparency /I true /CS /DeviceRGB>>}

This seems to have resolved the problem.

share|improve this answer

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.