To add colors to group box pls follow below steps
1.Fst in visual studio code create classes for group boxes for example like below
border: 1px solid #AD1523;
you can add as many classes you want according to your requirement.
2.Go the page in the properties of the group box go to dynamic class
there u need to write the logic like if your if entity/attribute = your condition then ‘.group-box-red’
like this you can add all your conditions and color you want for which condition,
Let me know if you have any questions.
Depending on what you want colored and what colors you want, there are two options:
Edit: forgot primary