eb4daf9e004594b67897c232c96180679cf9601a15766ec0642ce4958ae55f1ac4af45cba778ad0d06e92583450b35a0a74808b09e4dca9a4d0b4d204d9f10 150 B

123456789
  1. 'use strict';
  2. const rgbRegex = require('rgb-regex');
  3. function isRGB(str) {
  4. return rgbRegex({ exact: true }).test(str);
  5. }
  6. module.exports = isRGB;