Method isColor documentation
Intended to check if the argument provided is a color.
Example
```javascript
bbn.fn.isColor("#FF0000")
//true
```
Example
```javascript
bbn.fn.isColor("rgb 255, 0, 0");
//true
```
Example
```javascript
bbn.fn.isColor("red");
//true
```
Intended to check if the argument provided is a color. - It is possible to pass as argument a string with hexadecimal value in rgb or the name of the color.
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-2025
BBN Solutions