From 09c3296683c82c29747f6128a4c089ba2b55516e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Jan 2015 06:15:03 +0100 Subject: manpage: clarify syntax for color options Options which take colors accept two variants. The first is "r/g/b/a", the second is "#AARRGGBB". Since they put alpha at different places, it's probably better to document the second variant explicitly. (It's a bit strange that they put alpha in different places, but on the other hand, it's kind of natural. The second variant should probably be considered deprecated.) --- DOCS/man/options.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 343e45a681..44ef87b137 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2453,7 +2453,7 @@ OSD Alternatively, the color can be specified as a RGB hex triplet in the form ``#RRGGBB``, where each 2-digit group expresses a color value in the range 0 (``00``) to 255 (``FF``). For example, ``#FF0000`` is red. - This is similar to web colors. + This is similar to web colors. Alpha is given with ``#AARRGGBB``. .. admonition:: Examples -- cgit v1.2.3