The colour of the H2 section title header and also the highlighted square will depend on the parent group that the child page has been assigned to. So these should be CSS styled.
Duis fringilla tempor metus, eu mollis augue faucibus eget. Suspendisse rutrum sem a posuere tincidunt. Aliquam non rutrum metus, faucibus imperdiet nisl. Phasellus id neque eu magna ultrices hendrerit at id mauris. Nam at odio dolor. Vivamus eu cursus urna.