Current regex for Rgba() validation rejects values where the alpha value does not begin with a zero or 1, so "rgba(30,40,50,.75)" is considered invalid.
It is unclear if the leading zero is a required element for the alpha value, but at least one substantive source MDN suggests not.
This small change to the regex makes the leading zero of the alpha value optional, fixing this.
Current regex for Rgba() validation rejects values where the alpha value does not begin with a zero or 1, so "rgba(30,40,50,.75)" is considered invalid. It is unclear if the leading zero is a required element for the alpha value, but at least one substantive source MDN suggests not. This small change to the regex makes the leading zero of the alpha value optional, fixing this.