value


valuestring

Sets or gets an element's color value.

The value property supports basic named colors, RGB, and hexadecimal code formats.

Note: Changing an element's value in code does not trigger an onChange() event.

Did this help?