Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Input[color] html5 and if it works with all modern browsers

I want to put a coloration function with input[color] but i want to know if this way is compatible with html5 and works with all modern browsers.

And Are there any other ways like JavaScript library or any thing like that.

I try input[color]

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The input[type="color"] attribute is part of HTML5, It allows users to select a color from a color picker.And is natively supported by modern browsers including Chrome, Firefox, Safari, Edge. But in mobile devices apperance may slightly vary.

If you need any customization, use js libraries such as jscolor, Pickr

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading