short hexcodes (#20964)

This commit is contained in:
Max Harmony
2018-11-04 00:40:00 -04:00
committed by Huyen Nguyen
parent d480010d9d
commit 0e80d750a3

View File

@ -55,6 +55,8 @@ Hex codes are case insensitive, meaning that #FFFFFF and #ffffff would be the sa
Additionally, there are 16,777,216 possible color combinations using hexcode. Additionally, there are 16,777,216 possible color combinations using hexcode.
A shorthand form also exists. The shorthand #ABC is equivalent to #AABBCC. In this form, 4096 colours are available.
### Opacity ### Opacity
The CSS3 opacity property sets the opacity for the whole element (both background color and text will be opaque/transparent). Unlike alpha values specified with rgba and hsla, opacity is inherited by child elements. The CSS3 opacity property sets the opacity for the whole element (both background color and text will be opaque/transparent). Unlike alpha values specified with rgba and hsla, opacity is inherited by child elements.