When using a CSS variable that stores a hex color (e.g. --rz-base-600: #5e696e;), it is not possible to set transparency using rgba(var(--rz-base-600), 0.5). The resulting CSS is invalid (rgba(#5e696e ...
This example is 25% semi-opaque red and 75% semi-opaque green. mixed in sRGB. Both the correct (premultiplied) and incorrect (non-premultiplied) workings are shown. color-mix(in srgb, rgb(100% 0% 0% / ...