Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi Friends


I am trying to design a color picker which contains only some basic colors,

i have searched in Google but i got some advance color picker but i need basic color picker which we find i paint application in earlier days. if any one know any links are code please share with me


Thanku
Posted

1 solution

hi
Download the jquery color picker plugin and add colpick.js and colpick.css to the head of your documents:
HTML
<script src="js/colpick.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/colpick.css" type="text/css" />

Now you may call the colpick method on any jQuery object to create a color picker. By default you get a dropdown color picker:
HTML :
HTML
<button id="picker">Show Color Picker</button></button>

JQuery :
JavaScript
$('#picker').colpick();
 
Share this answer
 
Comments
murkalkiran 17-Oct-14 3:28am    
Sorry I am Not getting
[no name] 17-Oct-14 5:58am    
download the jquery color picker plugin from the above link.
include it it your html / asp document
simply call it wherever you want.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900