Sliders to alpha
Each opacity setting is expressed as a percentage and written into the alpha channel of an rgba() color: 25% becomes 0.25. Because the fill and border default to white, the conversion is direct, and the digits in the emitted CSS match the slider positions you set, so the code stays readable and tunable by hand afterward.