Bug: When creating a swatch, if the rgba alpha value is 0, the span.minicolors-swatch-color element is styled with a background color that leaves off the alpha.
Solution: In the parseRgb function, check for the presence of rgba[3] using undefined, otherwise 0 will trigger false.
Bug: When creating a swatch, if the rgba alpha value is 0, the span.minicolors-swatch-color element is styled with a background color that leaves off the alpha.
Solution: In the parseRgb function, check for the presence of rgba[3] using
undefined
, otherwise 0 will trigger false.