Dynamic Web Lab

HTML5 Input Type Color

You can get color input box in html5 with this attribute type="color".
With this new html5 Input Type Color, you no longer need a complex Javascript color picker.

Not all major browsers support all the new input types. Only latest version of Chrome and Opera support this.
If the browser are not supported, they will behave as regular text fields.

[php]Select your color: <input type="color" name="favcolor" />[/php]

color Input Type

Scroll to Top