Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 991 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 991 Bytes

Convert colors HEX to RGB / RGB to HEX

Convert colors from HEX to RGB and vice-and-versa with jQuery.

Usage

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.

Convert HEX to RGB

$.convertColors('#3498db');

Convert RGB to HEX

$.convertColors('rgb(52,152,219)');

Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

Support

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?