color


colorstring

Sets or gets an element's color.

Retrieve or update the displayed color in the panel element's color picker section. The color property supports basic named colors, RGB, and hexadecimal code formats.

Note: Changing an element's color in code triggers an onColorChange() event.

Did this help?