transparent isn't a valid color according to the colorformat function. Since it doesn't accept 4 or 8 character hex colors either, it can't set as #0000 or #00000000 either.
But at least it can be tricked by using var(--some-variable,transparent) since it doesn't really check the format of var or calc CSS functions.
transparentisn't a valid color according to thecolorformatfunction. Since it doesn't accept 4 or 8 character hex colors either, it can't set as#0000or#00000000either.But at least it can be tricked by using
var(--some-variable,transparent)since it doesn't really check the format ofvarorcalcCSS functions.