Solution
You can change the color of a Power Button in G Web Development software programmatically using CSS. For this follow the next steps:
1. Create a Power Button.
2. Add an
HTML class attribute to the button. The
HTML class attribute section is located in the
Item tab.

3.Create a CSS sheet and add it to the HTML file using the
Edit HTML Source button and add the following line

<link href="support/style.css" rel="stylesheet">
The resulting file will look as the following:

4. After adding the line Save the file.
5. In the CSS file add the class mentioned in point 2 and the --ni--true--background property.

6. Save the file.
7. Run the program.