3-digit hexadecimal color defintions act like CSS (e.g., #FFF is #FFFFFF now, not #F0F0F0).

This commit is contained in:
William Kendrick 2006-09-11 08:25:24 +00:00
parent 114087af21
commit d30e67594e
4 changed files with 26 additions and 15 deletions

View file

@ -327,10 +327,8 @@ Windows Users
color model" article.)
Colors may be listed using three decimal numbers (e.g.,
"255 64 128") or a 6- or 3-digit-long hexadecimal 'triplet'
(e.g., "#ff4080" or "#F48"). Note: You must separate decimal
values with spaces, and begin hexadecimal values with a
pound/number-sign character ("#").
"255 68 136") or a 6- or 3-digit-long hexadecimal 'triplet'
(e.g., "#ff4488" or "#F48").
After the color definition (on the same line) you may enter text
to describe the color. Tux will display this text when the color
@ -339,6 +337,12 @@ Windows Users
As an example, you can see the default colors currently used in
Tux Paint in: "default_colors.txt".
NOTES: You must separate decimal values with spaces, and begin
hexadecimal values with a pound/number-sign character ("#"). In
3-digit hexadecimal, each digit is used for both the high and
low halves of the byte, so "#FFF" is the same as "#FFFFFF", not
"#F0F0F0".
lang=LANGUAGE
Run Tux Paint in one of the supported languages. Possible choice