I am starting with a classical theorem environment from amsthm, it has the numbering I want. What I would like is to color the background of the name of the theorem. I have tried to do a color box in the definition itself, but I only get to color the name, unfortunately without the numbering. Basically, my question is: how to get the numbering to be colored as well?
I am aware of the package thmtools but I am only trying to color the background of the name and numbering, not the whole theorem.
MWE:
\documentclass{article}
\usepackage{amsmath,amsthm}
\usepackage{xcolor}
\usepackage{colortbl}
\definecolor{1}{RGB}{255,200,255}
\newtheorem{prop1}{\colorbox{1}{Proposition}}
\begin{document}
\begin{prop1}
For any information provision policy $A$,
\[
\rho^*_A = 1.
\]
\end{prop1}
\end{document}


\bfis deprecated, use\bfseriesinstead, see here: https://tex.stackexchange.com/questions/41681/correct-way-to-bold-italicize-text and see my edit. – CarLaTeX Nov 30 '18 at 15:55prop1theorems, and obviously not the number of propositions. Is there a way where I can have aprop1andprop2defined, such that the numbering is the sum of the numberings, i.e. so that it goes Proposition 1., Proposition 2., etc. irrespective of the colors?Or is there a way to pass the color as an argument, something like
– Cryme Nov 30 '18 at 17:16\begin{colorprop}[red] ... \end{colorprop}?