I have just started lerning Latex. So, it is possible that the following doubt is very easy.
I have to do a presentation with Beamer. I know that there exist specific comands to theorems, definitions, examples… I wonder if it is possible to modify those environments and change its default color. That is can I use the Theorem environment in such a way that the color of the block is green instead of blue?
In the following example I wanto to change the color of the block to red.
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage[english]{babel}
\usetheme{madrid}
\begin{document}
\begin{frame}{Test}
\begin{theorem}[Pythagoras]
$a^+b^2=c^2$
\end{theorem}
\end{frame}
\end{document}
Thanks in advance.
Best Answer
For a yellow colored "Teorema" block, please see the following MWE: