Colour a Custom Keyboard in entity screen

Is that an Automation Command Button? If so, you can use <block> and/or <panel> tags to set the background, or even easier, Automation Command button Widgets have a Background and Hover color setting.