Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Does anyone know the specification (RGB) of the Warsaw blue color? I want to make a custom block and want it to match the blue Warsaw color.

share|improve this question

1 Answer 1

up vote 8 down vote accepted

You don't need the RGB specification. The Warsaw theme uses several shades of blue, but all of them (for example, structure.fg!75!black and structure.fg!50!black) are variations of structure.fg, so you can say, for example:

\documentclass{beamer}
\usetheme{Warsaw}

\setbeamercolor{test}{bg=structure.fg,fg=white}

\begin{document}

\begin{frame}
\frametitle{test}
\begin{beamercolorbox}[ht=1cm,dp=1cm,sep=1em]{test}
text
\end{beamercolorbox}
\end{frame}

\end{document}

enter image description here

Here's, however, the rgb specification of structure:

\definecolor{structure}{rgb}{0.2,0.2,0.7}
share|improve this answer

Your Answer

 
discard

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.