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 would like to change total document background colour; for example to Yellow: I have used two packages:


But I am unable to get my output, is there any solution?

share|improve this question
There's no colour or xcolour package. To the dismay of British TeX users, the American spelling is used in the names. – egreg Nov 13 '12 at 0:12
Somewhat off topic, but the best way to change the background color of an entire document is to print it on colored paper. :) – fluffy Nov 13 '12 at 6:33
up vote 14 down vote accepted

The pagecolor package adds some page colour checking options to that provided by xcolor itself, which may not be necessary:

enter image description here

\usepackage{pagecolor,lipsum}% http://ctan.org/pkg/{pagecolor,lipsum}

It automatically loads xcolor if it's not loaded by default.

share|improve this answer

There is no package colour but it should be color. Similarly xcolour is xcolor. BTW, you can use \pagecolor{yellow!30} to make pages yellow.

\usepackage{blindtext} %% to add dummy text

For adding more fancy coloring this answer may be a starting point.

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.