summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-05 06:15:03 +0100
committerwm4 <wm4@nowhere>2015-01-05 06:15:03 +0100
commit09c3296683c82c29747f6128a4c089ba2b55516e (patch)
treeb73a2bc595e9a1a80ee75b116f11fb10f101521f
parenta91f127246aa57940d22b6c1dbb2a55d31e0dc90 (diff)
downloadmpv-09c3296683c82c29747f6128a4c089ba2b55516e.tar.bz2
mpv-09c3296683c82c29747f6128a4c089ba2b55516e.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 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