TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting 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'm using beamerthemeRJH theme for my poster presentation. The .sty file to this theme can be obtained from here. I want to get OliveGreen rather than blue color for block background. Any help will be highly appreciated. Thanks

share|improve this question
up vote 3 down vote accepted

The .sty file for the theme you mentioned is very well commented, and so it's easy to change colors of the elements.

To change the background color to OliveGreen, first add the option dvipsnames to the Beamer class, so that you can use this name for the color.

Next, go into the .sty file of RJH theme, locate the part whose color you'd like to change, say % body colors and fonts. You'll notice that the \setbeamercolor command has a fg=<colorname>,bg=<colorname> argument; these specify the colors for foreground and background. If you want to change the background color to OliveGreen, then simply issue


in the preamble. This will redefine <colorname> to be the color you specify. In the case of % body colors and fonts,


will change the background color of the poster to OliveGreen.



\colorlet{i6colorscheme3}{OliveGreen} % change body background color

\title{The demise of the spotted swamp frog}
\author{Rob J Hyndman}
\footer{More information at \texttt{robjhyndman.com}}


\begin{block}{The spotted frog habitat}
Blah blah blah

\begin{block}{Some interesting specimens}
Stuff and nonsense

\begin{block}{My latest paper about frogs}
Published in the \emph{Journal of Irreproducible Results}.




enter image description here

share|improve this answer
Thanks @Kevin C for your nice answer. Actually I want to change the blue color of blocks to olivegreen. Would you suggest me where I have to make changes. Thanks – MYaseen208 Dec 5 '13 at 18:00
@MYaseen208: under the % block environment, you'll see that the block title's background color is i6colorblockbg. Then \colorlet{i6colorblockbg}{OliveGreen} will do the trick. – Herr K. Dec 5 '13 at 18:02
Thanks @Kevin C for your help. I got the desired color for block but still struggling with headline background and footnote line background color. Could you give me few hints. Thanks – MYaseen208 Dec 5 '13 at 18:18
@MYaseen208: Try \colorlet{i6colorschemeHeadline}{OliveGreen} – Herr K. Dec 5 '13 at 18:23
Thanks a lot for your all help. Much appreciated. – MYaseen208 Dec 5 '13 at 18:26

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.