Opacify HEX Color In CSS by Osvaldas Valutis
Briefly

The article discusses the author's preference for hexadecimal color formats over RGB and highlights the inconvenience of having to convert HEX to RGB for opacity adjustments. With recent updates in CSS, new color manipulation functions, such as color-mix, enable HEX users to directly apply opacity to their color selections without switching formats. This enhances workflow efficiency by reducing the need for external conversion tools. The author also notes SASS’s built-in functions provide similar conveniences for projects using that preprocessor.
The recent addition of color manipulation functions to CSS, like color-mix, allows HEX users to achieve RGBA effects without switching formats.
Using a CSS property for opacity defines a streamlined process for HEX fans, eliminating the need for RGB conversion, and aligning with style preferences.
Read at Osvaldas Valutis
[
|
]