Vilda
Vilda

Reputation: 1793

Color picker dialog in HTML

Using

<input type="color">

it is possible to call the system's color picker dialog. That works just fine, but I'd like to use different button for this. Is it possible to manually call the color picker dialog from another element?

Upvotes: 2

Views: 2406

Answers (1)

Victor
Victor

Reputation: 1003

You can define its style, for example remove the border, with the style property:

<input type="color" style="border:none">

Upvotes: 1

Related Questions