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 having trouble changing the cellcolor in beamer. I've loaded xcolor alongside beamer, and specified the svgnames and table options;


Here's how I try to change the cellcolor in beamer;

\caption{Summary of the differences between open and cloed word classes}

Open-class & Closed-class\\ 
\cellcolor[yellow]{0.5}Admit new members & Do not admit new members \\ 
Are numerous & Are few \\ 
Express "content" & Do not express "content" \\ 
Carry stress & Rarely carry stress \\ 
Can be long, e.g. \textit{antidisestablishmentarianism} & Tend to be short, e.g. \textit{the, on} \\

I get the error message undefined color model. I checked whether yellow is an SVG color and it is. I also defined a color model called yellow, and this didn't work either.

share|improve this question

is a correct syntax. I suppose you mean a gray color. Then it is


gray is the color model

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.