HTML5 input type color: set no color / delete color
I think it cannot be set to be transparent
, but you can modify the start color with value="#colorhex"
.
For example;
<input type="color" value="#0000ff">
Edit: It seems that when input
has type="color"
there is always a color defined, and there's no way to set that string to empty.
Although here, the guy with second answer says he figured out a workaround.