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

How can I change the background color of one frame in my Beamer document? I tried doing

  \setbeamercolor{background canvas}{bg=violet}
  % frame contents here

but it seemed to have no effect.

Anyone know what the problem is?

share|improve this question
up vote 28 down vote accepted

Modify the background canvas before you begin the frame, not within the frame.

To keep the effect of the color change local, you could use curly braces around the frame and that command, or \begingroup ... \endgroup.

share|improve this answer
@Stefan, I tried to do as you said, but the color stay the same as previous slides. Do you know why it could possibly not work? – damluar Mar 15 '13 at 20:39

Put the \setbeamercolorcommand outside the frame. This will change the background colour for every subsequent frame. If you want to just change that slide, you can surround the frame and the command in {}

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.