Method hex2rgb documentation

Convert an hexadecimmal string to RGB.

Example

```javascript //{r:255, g:0, b:0} bbn.fn.hex2rgb("#FF0000"); ```

Convert an hexadecimmal string to RGB. - Converts a string that expresses a color in hexadecimal format into an object with the properties that define the color and the corresponding value. 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.