Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Yeah but there are a few little hacks you can do with this (transparent scroll bar thumb on hover, works with hex! Not found a use case for that yet though lol!).
Plus if you are hex everywhere why not keep it consistent so you can easily check one colour is a opacity variant of another.
With all that being said HSLA would be my preference! 💪
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This feels like a "just because you can, doesn't mean you should" kind of things.
hsla or rgba would both surely be a better choice?
Yeah but there are a few little hacks you can do with this (transparent scroll bar thumb on hover, works with hex! Not found a use case for that yet though lol!).
Plus if you are hex everywhere why not keep it consistent so you can easily check one colour is a opacity variant of another.
With all that being said HSLA would be my preference! 💪