@silen/rgb

Determine the expression is rgb color

Usage no npm install needed!

<script type="module">
  import silenRgb from 'https://cdn.skypack.dev/@silen/rgb';
</script>

README

rgb

Determine the expression is rgb color

install

npm i @silen/rgb

usage

const { isRgb } = require('@silen/rgb');
// or
import { isRgb } from '@silen/rgb';

console.log(isRgb('your expression'));

// or
console.log(window.Rgb.isRgb(''));