]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-theme(5): document x11-color-names
authorJohan Malm <jgm323@gmail.com>
Mon, 23 Jun 2025 19:01:13 +0000 (20:01 +0100)
committerJohn Lindgren <john@jlindgren.net>
Tue, 24 Jun 2025 05:09:30 +0000 (01:09 -0400)
docs/labwc-theme.5.scd

index b9eb30d53e2baf8e3af50ea6b200e20a7ff7bd16..fd21edd8e1c82428ade56023b57e6a6d1fd336e5 100644 (file)
@@ -37,7 +37,17 @@ labwc-config(5).
 # DATA TYPES
 
 *color*
-       Colors can be specified by either of the following:
+       Colors can be specified by name or hexadecimal Red-Green-Blue (RGB)
+       value:
+
+       *color name* refers to "X11 color name", for example: 'white', 'grey40',
+       'pink' and 'peach puff'. More information can be found here:
+       - http://en.wikipedia.org/wiki/Web_colors#X11_color_names
+       - http://en.wikipedia.org/wiki/X11_color_names
+       - https://github.com/labwc/labwc/blob/master/src/common/rgb.txt
+
+       *RGB value*
+
        - #rrggbb (hexadecimal RGB values)
        - #rrggbb aaa (same but with decimal alpha value percentage)
        - #rrggbbaa (same but with inline alpha value in hex encoding)