Skip to content

Commit

Permalink
Update docs to reference CSS Color Module Level 3
Browse files Browse the repository at this point in the history
as the named color "rebeccapurple" is unavailable, Level 4 clearly isn't supported; the link should not point to a dev version of the spec either
  • Loading branch information
appgurueu authored and sfan5 committed Apr 21, 2022
1 parent 7cea688 commit 583257f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lua_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 4](http:https://dev.w3.org/csswg/css-color/#named-colors).
[CSS Color Module Level 3](https:https://www.w3.org/TR/css-color-3/).
To specify the value of the alpha channel, append `#A` or `#AA` to the end of
the color name (e.g. `colorname#08`).

Expand Down

0 comments on commit 583257f

Please sign in to comment.