https://github.com/williankeller/convert-colors-hex-rgb
Library to Convert colors Hex to RGB / RGB to HEX
https://github.com/williankeller/convert-colors-hex-rgb
convert-colors-hex hex hex-to-rgb javascript jquery-plugin js-library rgb rgb-to-hex
Last synced: over 1 year ago
JSON representation
Library to Convert colors Hex to RGB / RGB to HEX
- Host: GitHub
- URL: https://github.com/williankeller/convert-colors-hex-rgb
- Owner: williankeller
- Created: 2015-05-14T13:28:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-08-29T18:14:42.000Z (almost 4 years ago)
- Last Synced: 2025-01-26T09:25:36.298Z (over 1 year ago)
- Topics: convert-colors-hex, hex, hex-to-rgb, javascript, jquery-plugin, js-library, rgb, rgb-to-hex
- Language: JavaScript
- Homepage: https://williankeller.github.io/convert-colors-hex-rgb/
- Size: 88.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```javascript
$.convertColors('#3498db');
```
### Convert RGB to HEX
```javascript
$.convertColors('rgb(52,152,219)');
```
### Contribution
Want to contribute to this extension? The quickest way is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).
### Support
If you encounter any problems or bugs, please open an issue on [GitHub](https://github.com/williankeller/convert-colors-hex-rgb/issues).
Need help setting up or want to customize this extension to meet your business needs?