How to add color picker in jQuery/Html and Php

Now we are discussing how to add color picker in php/html project, for example if you want give a functionality to user select color from color picker for his background color profile,for this we will use third party color picker and call it on particular div area where we want display color picker.

Step 1: first we will include farbtastic css and js file.

Step 2: we will call color picker method on document ready event.

colorright/ colorleft’ is text-box id where we will show color id

Step 3: we will create html template for display color picker.