Step 1: First you have to create html file index.html from code given below link
index.html
Step 2: You can download included color_picker.js file from below link
color_picker.js
Step 3: Run index.html file you can add text with selected color on defined area with div
Hope this will useful for you…..
Speak Your Mind