function e(e){let t=(e||``).match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function t(t){return t&&t!==`#fff`&&t!==`#ffffff`&&t!==`rgb(255, 255, 255)`&&t!==`rgba(255, 255, 255, 1)`&&e(t)&&!/rgba\((?:\d*, ){3}0\)/.test(t)&&t!==`transparent`}function n(e){let{borderTopColor:n,borderColor:r,backgroundColor:i}=getComputedStyle(e);return t(n)?n:t(r)?r:t(i)?i:null}export{n as getTargetWaveColor,e as isNotGrey,t as isValidWaveColor};