- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Feb 2024 17:24:53 +0000
- To: public-css-archive@w3.org
This is addressed by the Color 5 [relative color syntax](https://www.w3.org/TR/css-color-5/#relative-colors), where you can write: ```css .theme1 { --color: rgb(255 99 71); color: var(--color); background-color: rgb(from var(--color), r g b / 0.5); /* Use the --color variable, keeping r g b unchanged, but set the alpha to .5 */ } ``` -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9910#issuecomment-1927524973 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 February 2024 17:24:56 UTC