[FFmpeg-cvslog] doc/utils: reformat doc for color syntax and add list of supported colors

Timothy Gu git at videolan.org
Wed Oct 16 18:33:18 CEST 2013


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Sun Oct 13 18:37:11 2013 -0700| [155a5ff00d611e7238af7becd0d99dde31b49ab2] | committer: Stefano Sabatini

doc/utils: reformat doc for color syntax and add list of supported colors

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Stefano Sabatini <stefasab at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=155a5ff00d611e7238af7becd0d99dde31b49ab2
---

 doc/utils.texi |  296 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 290 insertions(+), 6 deletions(-)

diff --git a/doc/utils.texi b/doc/utils.texi
index 484da5f..9c9a47b 100644
--- a/doc/utils.texi
+++ b/doc/utils.texi
@@ -283,17 +283,301 @@ The undefined value can be expressed using the "0:0" string.
 @anchor{color syntax}
 @section Color
 
-It can be the name of a color (case insensitive match) or a
-[0x|#]RRGGBB[AA] sequence, possibly followed by "@@" and a string
+It can be the name of a color as defined below (case insensitive match) or a
+ at code{[0x|#]RRGGBB[AA]} sequence, possibly followed by @samp{@@} and a string
 representing the alpha component.
 
 The alpha component may be a string composed by "0x" followed by an
 hexadecimal number or a decimal number between 0.0 and 1.0, which
-represents the opacity value (0x00/0.0 means completely transparent,
-0xff/1.0 completely opaque).
-If the alpha component is not specified then 0xff is assumed.
+represents the opacity value (@samp{0x00} or @samp{0.0} means completely
+transparent, @samp{0xff} or @samp{1.0} completely opaque). If the alpha
+component is not specified then @samp{0xff} is assumed.
 
-The string "random" will result in a random color.
+The string @samp{random} will result in a random color.
+
+The following names of colors are recognized:
+ at table @samp
+ at item AliceBlue
+0xF0F8FF
+ at item AntiqueWhite
+0xFAEBD7
+ at item Aqua
+0x00FFFF
+ at item Aquamarine
+0x7FFFD4
+ at item Azure
+0xF0FFFF
+ at item Beige
+0xF5F5DC
+ at item Bisque
+0xFFE4C4
+ at item Black
+0x000000
+ at item BlanchedAlmond
+0xFFEBCD
+ at item Blue
+0x0000FF
+ at item BlueViolet
+0x8A2BE2
+ at item Brown
+0xA52A2A
+ at item BurlyWood
+0xDEB887
+ at item CadetBlue
+0x5F9EA0
+ at item Chartreuse
+0x7FFF00
+ at item Chocolate
+0xD2691E
+ at item Coral
+0xFF7F50
+ at item CornflowerBlue
+0x6495ED
+ at item Cornsilk
+0xFFF8DC
+ at item Crimson
+0xDC143C
+ at item Cyan
+0x00FFFF
+ at item DarkBlue
+0x00008B
+ at item DarkCyan
+0x008B8B
+ at item DarkGoldenRod
+0xB8860B
+ at item DarkGray
+0xA9A9A9
+ at item DarkGreen
+0x006400
+ at item DarkKhaki
+0xBDB76B
+ at item DarkMagenta
+0x8B008B
+ at item DarkOliveGreen
+0x556B2F
+ at item Darkorange
+0xFF8C00
+ at item DarkOrchid
+0x9932CC
+ at item DarkRed
+0x8B0000
+ at item DarkSalmon
+0xE9967A
+ at item DarkSeaGreen
+0x8FBC8F
+ at item DarkSlateBlue
+0x483D8B
+ at item DarkSlateGray
+0x2F4F4F
+ at item DarkTurquoise
+0x00CED1
+ at item DarkViolet
+0x9400D3
+ at item DeepPink
+0xFF1493
+ at item DeepSkyBlue
+0x00BFFF
+ at item DimGray
+0x696969
+ at item DodgerBlue
+0x1E90FF
+ at item FireBrick
+0xB22222
+ at item FloralWhite
+0xFFFAF0
+ at item ForestGreen
+0x228B22
+ at item Fuchsia
+0xFF00FF
+ at item Gainsboro
+0xDCDCDC
+ at item GhostWhite
+0xF8F8FF
+ at item Gold
+0xFFD700
+ at item GoldenRod
+0xDAA520
+ at item Gray
+0x808080
+ at item Green
+0x008000
+ at item GreenYellow
+0xADFF2F
+ at item HoneyDew
+0xF0FFF0
+ at item HotPink
+0xFF69B4
+ at item IndianRed
+0xCD5C5C
+ at item Indigo
+0x4B0082
+ at item Ivory
+0xFFFFF0
+ at item Khaki
+0xF0E68C
+ at item Lavender
+0xE6E6FA
+ at item LavenderBlush
+0xFFF0F5
+ at item LawnGreen
+0x7CFC00
+ at item LemonChiffon
+0xFFFACD
+ at item LightBlue
+0xADD8E6
+ at item LightCoral
+0xF08080
+ at item LightCyan
+0xE0FFFF
+ at item LightGoldenRodYellow
+0xFAFAD2
+ at item LightGreen
+0x90EE90
+ at item LightGrey
+0xD3D3D3
+ at item LightPink
+0xFFB6C1
+ at item LightSalmon
+0xFFA07A
+ at item LightSeaGreen
+0x20B2AA
+ at item LightSkyBlue
+0x87CEFA
+ at item LightSlateGray
+0x778899
+ at item LightSteelBlue
+0xB0C4DE
+ at item LightYellow
+0xFFFFE0
+ at item Lime
+0x00FF00
+ at item LimeGreen
+0x32CD32
+ at item Linen
+0xFAF0E6
+ at item Magenta
+0xFF00FF
+ at item Maroon
+0x800000
+ at item MediumAquaMarine
+0x66CDAA
+ at item MediumBlue
+0x0000CD
+ at item MediumOrchid
+0xBA55D3
+ at item MediumPurple
+0x9370D8
+ at item MediumSeaGreen
+0x3CB371
+ at item MediumSlateBlue
+0x7B68EE
+ at item MediumSpringGreen
+0x00FA9A
+ at item MediumTurquoise
+0x48D1CC
+ at item MediumVioletRed
+0xC71585
+ at item MidnightBlue
+0x191970
+ at item MintCream
+0xF5FFFA
+ at item MistyRose
+0xFFE4E1
+ at item Moccasin
+0xFFE4B5
+ at item NavajoWhite
+0xFFDEAD
+ at item Navy
+0x000080
+ at item OldLace
+0xFDF5E6
+ at item Olive
+0x808000
+ at item OliveDrab
+0x6B8E23
+ at item Orange
+0xFFA500
+ at item OrangeRed
+0xFF4500
+ at item Orchid
+0xDA70D6
+ at item PaleGoldenRod
+0xEEE8AA
+ at item PaleGreen
+0x98FB98
+ at item PaleTurquoise
+0xAFEEEE
+ at item PaleVioletRed
+0xD87093
+ at item PapayaWhip
+0xFFEFD5
+ at item PeachPuff
+0xFFDAB9
+ at item Peru
+0xCD853F
+ at item Pink
+0xFFC0CB
+ at item Plum
+0xDDA0DD
+ at item PowderBlue
+0xB0E0E6
+ at item Purple
+0x800080
+ at item Red
+0xFF0000
+ at item RosyBrown
+0xBC8F8F
+ at item RoyalBlue
+0x4169E1
+ at item SaddleBrown
+0x8B4513
+ at item Salmon
+0xFA8072
+ at item SandyBrown
+0xF4A460
+ at item SeaGreen
+0x2E8B57
+ at item SeaShell
+0xFFF5EE
+ at item Sienna
+0xA0522D
+ at item Silver
+0xC0C0C0
+ at item SkyBlue
+0x87CEEB
+ at item SlateBlue
+0x6A5ACD
+ at item SlateGray
+0x708090
+ at item Snow
+0xFFFAFA
+ at item SpringGreen
+0x00FF7F
+ at item SteelBlue
+0x4682B4
+ at item Tan
+0xD2B48C
+ at item Teal
+0x008080
+ at item Thistle
+0xD8BFD8
+ at item Tomato
+0xFF6347
+ at item Turquoise
+0x40E0D0
+ at item Violet
+0xEE82EE
+ at item Wheat
+0xF5DEB3
+ at item White
+0xFFFFFF
+ at item WhiteSmoke
+0xF5F5F5
+ at item Yellow
+0xFFFF00
+ at item YellowGreen
+0x9ACD32
+ at end table
 
 @c man end SYNTAX
 



More information about the ffmpeg-cvslog mailing list