Method rgb2hex documentation
Convert an RGB string to hexadecimal.
Example
```javascript
//"#ff0000"
bbn.fn.rgb2hex("rgb(255, 0, 0)");
```
Convert an RGB string to hexadecimal. - Passing a string with the format that defines the rgb value as an argument,
it will return the corresponding string in hexadecimal format.
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions