6

I'm using minted package. If logo (top-picture) contains green, code color change.

\definecolor{codecolor}{RGB}{108,247,10}
\newminted{cpp}{linenos,bgcolor=codecolor!25,frame=lines,fontsize=\small,framerule=0.7pt,xleftmargin=20pt,mathescape}
    \pagestyle{fancy}
\fancyhead[CO,CE]{\includegraphics[height=0.6in]{logo}}
\fancyhead[LO,RE]{\bfseries APIO .....}
\fancyhead[RO,LE]{\bfseries ......}
\fancyfoot[CO,CE]{}
\renewcommand{\headrulewidth}{0.4pt}

Look, pictures. First picture's logo don't contain green and code color is true.

enter image description here

But, second picture's logo contains green, so code color is false.

enter image description here

If I change logo, problem fixed.

How can we solve this problem?

closed as unclear what you're asking by Joseph Wright Jan 7 '17 at 21:11

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Which format (pdf,png,jpg) is your logo stored in? – Henri Menke Jul 18 '13 at 8:37
  • png format (all logos) – Onur Sigirci Jul 27 '13 at 10:21
  • To help here we'll need a full example – Joseph Wright Jan 7 '17 at 21:11