Reputation: 14575
what values can the input type color have? can some one give a detailed explanation in layman's terms?
Upvotes: 2
Views: 2330
Reputation: 4146
So far, only Opera has implemented input type="color" and the value that gets used after a user has picked a color is the hex value of the color.
http://diveintohtml5.ep.io/forms.html#type-color
Update: Edge, Opera and Firefox implemented this already.
Upvotes: 2
Reputation: 3198
input[type=color]
supports six-digit hexadecimal RGB color e.g. #000000
ref: http://www.mathsisfun.com/hexadecimal-decimal-colors.html
Upvotes: 0