Method isColor documentation

Intended to check if the argument provided is a color.

Example

```javascript //true bbn.fn.isColor("#FF0000") ```

Example

```javascript //true bbn.fn.isColor("rgb 255, 0, 0"); ```

Example

```javascript //true bbn.fn.isColor("red"); ```

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.