Expand #rgb / #rrggbb to #rrggbbaa. Pads ff when no alpha channel is present. Non-hex inputs (named colors, rgba(...)) are returned unchanged — the kit's renderer accepts arbitrary CSS, and we only normalize the hex shapes we actually persist.
#rgb
#rrggbb
#rrggbbaa
ff
rgba(...)
Expand
#rgb/#rrggbbto#rrggbbaa. Padsffwhen no alpha channel is present. Non-hex inputs (named colors,rgba(...)) are returned unchanged — the kit's renderer accepts arbitrary CSS, and we only normalize the hex shapes we actually persist.