.test1 { --foo: rgba(#f00, .5); } // .test1 { --foo: rgba(#f00, .5) }
$col: rgba(#f00, .5); .test2 { --foo: $col; } // .test2 { --foo: $col }
body { --foo: rgb(from #f00 r g b / .5); background: var(--foo) }