You can get color input box in html5 with this attribute
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]