1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Support CSS Color Module Level 4 (#12204)

This commit is contained in:
Lars Müller
2022-04-27 23:00:02 +02:00
committed by GitHub
parent 480d5f2d51
commit fccf1e2eac
2 changed files with 2 additions and 1 deletions

View File

@@ -3248,7 +3248,7 @@ Colors
`#RRGGBBAA` defines a color in hexadecimal format and alpha channel.
Named colors are also supported and are equivalent to
[CSS Color Module Level 3](https://www.w3.org/TR/css-color-3/).
[CSS Color Module Level 4](https://www.w3.org/TR/css-color-4/#named-color).
To specify the value of the alpha channel, append `#A` or `#AA` to the end of
the color name (e.g. `colorname#08`).