How this tool computes its result
Composes a single CSS box-shadow value from six independent controls: offset-x and offset-y (-80 to 80px), blur (0-120px), spread (-80 to 80px), opacity (0-1), and a hex color, plus an inset toggle. hexToRgba() normalizes 3-digit hex to 6-digit, validates it against a strict 6-hex-digit pattern, and converts it to an rgba() string; any string that fails that pattern falls back to rgba(0,0,0,alpha) rather than erroring. The final rule is a straight template-literal concatenation: '{inset }{x}px {y}px {blur}px {spread}px {rgba}'.
