Convert colors from HEX to RGB and vice-and-versa with jQuery.
This script is pretty simple to use. You only have to have the jQuery in your local and then download/clone this script.
You can pass the values in HEX or in the RGB, the script will handle the value and work with the conversion. If you have informed a value in RGB the script will convert it to HEX and vice-and-versa.
$.convertColors('#3498db');
$.convertColors('rgb(52,152,219)');
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
If you encounter any problems or bugs, please open an issue on GitHub. Need help setting up or want to customize this extension to meet your business needs?