I was asked to use two colors in a presentation. If it was only one color I would use beamer@blendedblue as base color, but since I need two colors, I can't use this. Is there a way to change the base color to a gradient?
1 Answer
You mentioned the Berlin
theme in your comment. In my opinion this theme would not do well with gradients, as it lives from it's solid colour elements placed next to each other. Why not simply use your 2 colours for these elements? An example:
\documentclass{beamer}
\colorlet{color1}{green!60!blue}
\colorlet{color2}{blue}
\setbeamercolor{structure}{fg=color1}
\setbeamercolor{section in head/foot}{bg=structure.fg!50!color2}
\setbeamercolor{subsection in head/foot}{bg=structure.fg!75!color2}
\usetheme{Berlin}
\title{title}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{bla}
\begin{frame}
\frametitle{title}
abc
\end{frame}
\end{document}
-
Well, this is another option through considering the colors (strong red and a very dark green) I guess I would have to run with it.– BraiamCommented Apr 14, 2017 at 2:37
structure
colour. There is no global option to replace this colour with a gradient - which would be quite difficult, as it is used in so many places, for example also for font colours etc. But what would be possible to have specific elements of the frames with gradients, for example the frametitle. Easiest: just use a theme which already has a gradient for the frametitle. Can you draw a sketch which elements should have this gradient?