For once, my question is short and simple: How do I use a beamer defined color in a tikz picture.
For instance, as beamer's documentation states, using beamer's colors is done as follows:
This text is {\usebeamercolor[fg]{alerted text} alerted}.
The following box uses the fore- and background of frametitles:
{
\usebeamercolor[fg]{frametitle}
\colorbox{bg}{Frame Title}
}
I would like to use the background color of the titleframe to fill an arrow shape as follows:
\usebeamercolor{frametitle}
\tikz
\node[fill=\color{bg},single arrow] at (0,0) { };
Anyone has a clue? I'm being scold by xcolors:
! Argument of \XC@col@rlet has an extra }.

beamerbecause you can change beamer theme and keep color scheme but if you plan to later write abeamerarticlewith same code it will fail.beamerarticledoesn't know about beamer colors. – Ignasi Jun 20 '12 at 09:31\newcommand{\usebeamercolor}[1]{\definecolor{fg}{rgb}{<whatever>}}that sets the required colors. – Jake Jun 20 '12 at 09:36\draw[fg] (2,2) circle (3cm);and I get a black circle. Would you know how to solve this? – Tropilio Nov 30 '19 at 13:58