summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-05 06:15:03 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:18 +0900
commit9b9d453748385b9082f7a8e974d7b6e8138a42ff (patch)
treee44b35e4bf6bb373566aebd523e4ac8585c92862
parentcb9b59858d1fb9b6e670f42082e7880c6bdb080f (diff)
downloadmpv-9b9d453748385b9082f7a8e974d7b6e8138a42ff.tar.bz2
mpv-9b9d453748385b9082f7a8e974d7b6e8138a42ff.tar.xz
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.)
-rw-r--r--DOCS/man/options.rst2
1 files changed, 1 insertions, 1 deletions
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