Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


Type: color string
The currently selected color. This is modified when the user selects a color. You can assign a string of the form #RRGGBB to this property to change the selected color.

Document Tags and Contributors

 Contributors to this page: Sheppy, fscholz, Marsf, Dria
 Last updated by: Sheppy,