How to apply opacity in Hex colors ?
I am working with CSS Hex colors. I am trying to apply opacity in Hex colors. I need #78909c with opacity 0.2.
The hex representation of colors supports the alpha channel to set opacity.
so, take any color in hex e.g. #ffffff and append 00 to ff (in hexadecimal representation) for opacity, i.e. #ffffff00 - #ffffffff
for your color: #78909c33
20% implies 33 in hex
Here is a demo
Reference: Hexadecimal notation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With