is-rgb-color

Loosely check whether a string is an RGB(A) color string.

is-rgb-color

Loosely check whether a string is an RGB(A) color string.

$ component install segmentio/is-rgb-color
$ npm install is-rgb-color

Loosely checks whether a string is an RGB(A) color string. Loose in that it doesn't cap numbers to 255, which CSS doesn't care about either.

MIT