Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to get the color value of HTML5 color picker using jquery?

user-image
Question added by Deleted user
Date Posted: 2014/09/21
Mahmoud Elmahdi
by Mahmoud Elmahdi , UX/UI Designer, Web Developer , ikantam.com

Here's a Demo Link with an element that return the property of css color, and input type color that return the value.Hope that helps.Mahmoud

Ibrahim Ahmed
by Ibrahim Ahmed , CEO/CTO/Fullstack Developer , Stack Bytes

I assume your're using something like this <input type="color" id="colorInput" >

 

Like any input you could use something like: var theColor = $("#colorInput").val();

Muhammad Waqas
by Muhammad Waqas , C#/.Net Developer , Signup solution

You better use "Jquery color picker plugin"

More Questions Like This