On entity screen any settings like that will be on the widget itself, its only mapped buttong than are set via automation commands section.
If anything the closing colour would be at the end however expect color like that will more likely be text colour rather than background.
Take a look at block and panel formatting expressions;