Graphics, Figures & Tablesbeamer | Color Definition

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Curious George
Posts: 9
Joined: Wed Apr 04, 2012 6:33 pm

beamer | Color Definition

Post by Curious George »

Specific question: In the LaTeX beamer \definecolor command, what color spaces can be specified? I have looked through dozens of examples and have found two types: either "\definecolor{rgb}<rgb-triplet>", or "\definecolor{gray}<graylevel>". Is it possible to use, for example "\definecolor{hsv}", "\definecolor{hsb}", "\definecolor{hsi}", "\definecolor{cyik}" ?

General question: Where can I find the complete specification for the beamer class? A web search reveals many links to "examples for beamer presentations", and the like. Some of these are excellent, but I would like to find the definitive specification.

thanks for your help !

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

beamer | Color Definition

Post by localghost »

Curious George wrote:[…] In the LaTeX beamer \definecolor command, what color spaces can be specified? I have looked through dozens of examples and have found two types: either "\definecolor{rgb}<rgb-triplet>", or "\definecolor{gray}<graylevel>". Is it possible to use, for example "\definecolor{hsv}", "\definecolor{hsb}", "\definecolor{hsi}", "\definecolor{cyik}" ? […]
Since beamer relies on xcolor, read the respective manual.
Curious George wrote:[…] Where can I find the complete specification for the beamer class? A web search reveals many links to "examples for beamer presentations", and the like. Some of these are excellent, but I would like to find the definitive specification. […]
Read the beamer user guide. And since it also relies on pgf, read this manual, too.


Best regards and welcome to the board
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Color Definition

Post by Stefan Kottwitz »

Hi George,

welcome to the board!

You can easily access the documentation by typing

Code: Select all

texdoc beamer
at the command prompt, the same for xcolor and pgf. Or use texdoc.net which has an interface for providing it online, just type the package or an alias into the search field there.

You can even access the documentation here via the forum, we have a syntax and a "doc" button for that. Just click one of the links:
Stefan
LaTeX.org admin
Curious George
Posts: 9
Joined: Wed Apr 04, 2012 6:33 pm

Re: beamer | Color Definition

Post by Curious George »

Thanks, Stefan and localghost for the welcome, and for the pointers to documentation. "texdoc xcolor" gave me the answers I needed. If anyone
else finds this thread, the answer to my specific question is yes, \definecolor supports several color systems besides rgb, including hsb and cmyk.
Post Reply