Is it possible to redefine certain \section or \subsection to have custom pagecolor?
There are certain solutions like:
How to change the background color only for the current page?,
underline and background color for section or subsection
Change background color for only a section of the page?
and so on.
However, this does not quite solve what I want. Some of these solutions need predefined color boxes at fixed positions etc.
What would be nice to have is, whenever this section (say \newsection) starts, the page color from that point onwards including the section title becomes different until the section ends (which means a new normal \section starts. Basically within the environment of the \newsection ). For that, the whole page does not need to be a different color and the texts in this \newsection might continue over the next page and so does the background color.
The complete page in the range of \newsection can have a different background including possibly the page numbers, left-right margins, etc. or, it will also be sufficient to have the text and equations area in \newsection.
The second example link above is much similar but that is only on the name of the section not on the content of the section.
