ThemeCfg: convert color numbers to hexadecimal form, consistently
authorWuzzy
Fri, 17 Nov 2017 04:57:29 +0000
changeset 1124 b37c99c55365
parent 1123 02863856f674
child 1125 2e4c07468366
ThemeCfg: convert color numbers to hexadecimal form, consistently
ThemeCfg.wiki
--- a/ThemeCfg.wiki	Fri Nov 17 04:53:08 2017 +0000
+++ b/ThemeCfg.wiki	Fri Nov 17 04:57:29 2017 +0000
@@ -13,7 +13,7 @@
 
 Following is the list of all current keys and their values, it is important to have the right number of values. Most keys may only be used once.
 
-The values red, green, blue and opacity are in the range of one byte and can be specified in both decimal or hexadecimal form. The range are `0` - `255` or `$00` - `$FF`.
+The values red, green, blue and opacity are in the range of one byte and can be specified in both decimal or hexadecimal form. A hexadecimal number must be prepended with a dollar sign. The range is `0` - `255` or `$00` - `$FF`.
 
 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
 
@@ -24,7 +24,7 @@
 
 <code>Values: red, green, blue</code>
 
-<code>Default: 0, 0, 0</code>
+<code>Default: $00, $00, $00</code>
 
 == `rq-sky` ==
 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
@@ -36,7 +36,7 @@
 
 <code>Values: red, green, blue</code>
 
-<code>Default: 80, 80, 80</code>
+<code>Default: $50, $50, $50</code>
 
 == `water-top` ==
 The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death.
@@ -61,7 +61,7 @@
 
 <code>Values: red, green, blue</code>
 
-<code>Default: 150, 112, 169</code>
+<code>Default: $96, $70, $A9</code>
 
 == `sd-water-top` ==
 The colour of the topmost part of the water (under the `SDWater.png`) while in Sudden Death.
@@ -70,7 +70,7 @@
 
 <code>Values: red, green, blue</code>
 
-<code>Default: 182, 144, 201</code>
+<code>Default: $B9, $72, $C9</code>
 
 == `water-opacity` ==
 The water opacity before Sudden Death. Opacity of the water affects how visible gears in the water are. `0` makes it fully transparent, whereas `255` or `$FF` makes it fully opaque. If the water is fully opaque, the drowning animation is skipped when a hedgehog drowns.