Color-picker is a program that provides GUI interface to select a color to be used in a web application. You must have seen such color-pickers in many web applications and websites.
Below are the steps showing how you can use a color-picker program in a web application.
- Now add a simple LOC where you want to include the color-picker GUI,
<input type='text' class='color' name='clrpicker'>
- To retrieve the selected color, use the name selector and get it using the following code