bgrins / spectrum

The No Hassle JavaScript Colorpicker
https://bgrins.github.io/spectrum/
MIT License
2.32k stars 588 forks source link

Adding color preview text over the replacer #511

Open ngattusohw opened 6 years ago

ngattusohw commented 6 years ago

It would be nice to have a quick a preview of the current color without having to actually open the color picker.

This feature is something similar to how jscolors does it, :: http://jscolor.com/examples/

My current work around for this is just injecting my own text label that changes using .move and .set, but it would be nice to have it as a built in feature...

I'm going to try my best to implement it!

ngattusohw commented 6 years ago

After adding code to meet this base case, I will add another option the specifies which type of color type to show (Hex, RGB .. etc)