I do not think that you can do what you are trying to do.
<input type="color">is intended to display a color choice, so for an element to indicate what it does by default is black. You can change the color value, as you did, to match the background color ( input type="color">cannot have an empty value), but you still have to struggle with the frame.
source
share