Site icon Puneet Sharma – Freelance Web Developer

HTML Input type to get color value

HTML Input type to get color value

Here is a very cool way to input color code using a basic HTML input tag. This may eliminate the use of a fancy jQuery color picker at a basic level 🙂


Demo

Open demo in a full window – https://demos.webdevpuneet.com/html/input-color/index.html

HTML

<input type="color" name="favcolor" value="#ff0000">

Also, check out this cool color picker tool to create unique colors for your websites.

Exit mobile version