
Anonymous A. answered 12/05/19
CSS Expert with 10+ years of experience
Hello,
CSS itself is not related to color depth, so basically the answer to your question is: N/A.
FWIW, to represent Black, the CSS color property supports the following formats:
- RGB (0, 0, 0)
- RGBa (0, 0, 0, 1)
- HEX (#000 or #000000)
- HSL (0, 0%, 0%)
- HSLa (0, 0%, 0%, 1)
- Named-color (black)
There are these other values of the color property although not specifically for Black, these properties work for any color:
- Keyword value (currentcolor)
- Global values (inherit, initial and unset)
More information about the CSS color property on Mozilla Developer Network (MDN): https://developer.mozilla.org/en-US/docs/Web/CSS/color
Hope this helps.