From 9b9d453748385b9082f7a8e974d7b6e8138a42ff 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(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 3cd561aa80..1af1df0917 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2429,7 +2429,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