v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:Color scheme"
Jump to navigation
Jump to search
m (hbgcolor) |
(use #colorfg) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="width: auto; margin:0px 20%"><table style="width:100%"> | <div style="width: auto; margin:0px 20%"><table style="width:100%"> | ||
<tr> | <tr> | ||
− | <td style="background-color:{{#colorconvert:{{{black|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{black|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{black|000}}}}}">BLACK {{{blackt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{dgray|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{dgray|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{dgray|000}}}}}">DGRAY {{{dgrayt|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{blue|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{blue|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{blue|000}}}}}">BLUE {{{bluet|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lblue|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lblue|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lblue|000}}}}}">LBLUE {{{lbluet|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{green|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{green|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{green|000}}}}}">GREEN {{{greent|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lgreen|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lgreen|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lgreen|000}}}}}">LGREEN {{{lgreent|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{cyan|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{cyan|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{cyan|000}}}}}">CYAN {{{cyant|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lcyan|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lcyan|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lcyan|000}}}}}">LCYAN {{{lcyant|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{red|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{red|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{red|000}}}}}">RED {{{redt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lred|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lred|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lred|000}}}}}">LRED {{{lredt|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{magenta|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{magenta|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{magenta|000}}}}}">MAGENTA {{{magentat|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{lmagenta|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lmagenta|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lmagenta|000}}}}}">LMAGENTA {{{lmagentat|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{brown|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{brown|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{brown|000}}}}}">BROWN {{{brownt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{yellow|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{yellow|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{yellow|000}}}}}">YELLOW {{{yellowt|}}}</span></td> |
</tr><tr> | </tr><tr> | ||
− | <td style="background-color:{{#colorconvert:{{{lgray|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{lgray|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{lgray|000}}}}}">LGRAY {{{lgrayt|}}}</span></td> |
− | <td style="background-color:{{#colorconvert:{{{white|000}}}|hex|hex}}" width="50%> <span style="color: # | + | <td style="background-color:{{#colorconvert:{{{white|000}}}|hex|hex}}" width="50%> <span style="color: {{#colorfg:{{{white|000}}}}}">WHITE {{{whitet|}}}</span></td> |
</tr> | </tr> | ||
</table></div> | </table></div> | ||
− | {{ | + | {{gamedata|title=colors.txt| |
[BLACK_R:{{#colorconvert:{{{black|000}}}|hex|rgb1}}] | [BLACK_R:{{#colorconvert:{{{black|000}}}|hex|rgb1}}] | ||
[BLACK_G:{{#colorconvert:{{{black|000}}}|hex|rgb2}}] | [BLACK_G:{{#colorconvert:{{{black|000}}}|hex|rgb2}}] | ||
[BLACK_B:{{#colorconvert:{{{black|000}}}|hex|rgb3}}] | [BLACK_B:{{#colorconvert:{{{black|000}}}|hex|rgb3}}] | ||
+ | [BLUE_R:{{#colorconvert:{{{blue|000}}}|hex|rgb1}}] | ||
+ | [BLUE_G:{{#colorconvert:{{{blue|000}}}|hex|rgb2}}] | ||
+ | [BLUE_B:{{#colorconvert:{{{blue|000}}}|hex|rgb3}}] | ||
+ | [GREEN_R:{{#colorconvert:{{{green|000}}}|hex|rgb1}}] | ||
+ | [GREEN_G:{{#colorconvert:{{{green|000}}}|hex|rgb2}}] | ||
+ | [GREEN_B:{{#colorconvert:{{{green|000}}}|hex|rgb3}}] | ||
+ | [CYAN_R:{{#colorconvert:{{{cyan|000}}}|hex|rgb1}}] | ||
+ | [CYAN_G:{{#colorconvert:{{{cyan|000}}}|hex|rgb2}}] | ||
+ | [CYAN_B:{{#colorconvert:{{{cyan|000}}}|hex|rgb3}}] | ||
+ | [RED_R:{{#colorconvert:{{{red|000}}}|hex|rgb1}}] | ||
+ | [RED_G:{{#colorconvert:{{{red|000}}}|hex|rgb2}}] | ||
+ | [RED_B:{{#colorconvert:{{{red|000}}}|hex|rgb3}}] | ||
+ | [MAGENTA_R:{{#colorconvert:{{{magenta|000}}}|hex|rgb1}}] | ||
+ | [MAGENTA_G:{{#colorconvert:{{{magenta|000}}}|hex|rgb2}}] | ||
+ | [MAGENTA_B:{{#colorconvert:{{{magenta|000}}}|hex|rgb3}}] | ||
+ | [BROWN_R:{{#colorconvert:{{{brown|000}}}|hex|rgb1}}] | ||
+ | [BROWN_G:{{#colorconvert:{{{brown|000}}}|hex|rgb2}}] | ||
+ | [BROWN_B:{{#colorconvert:{{{brown|000}}}|hex|rgb3}}] | ||
+ | [LGRAY_R:{{#colorconvert:{{{lgray|000}}}|hex|rgb1}}] | ||
+ | [LGRAY_G:{{#colorconvert:{{{lgray|000}}}|hex|rgb2}}] | ||
+ | [LGRAY_B:{{#colorconvert:{{{lgray|000}}}|hex|rgb3}}] | ||
[DGRAY_R:{{#colorconvert:{{{dgray|000}}}|hex|rgb1}}] | [DGRAY_R:{{#colorconvert:{{{dgray|000}}}|hex|rgb1}}] | ||
[DGRAY_G:{{#colorconvert:{{{dgray|000}}}|hex|rgb2}}] | [DGRAY_G:{{#colorconvert:{{{dgray|000}}}|hex|rgb2}}] | ||
[DGRAY_B:{{#colorconvert:{{{dgray|000}}}|hex|rgb3}}] | [DGRAY_B:{{#colorconvert:{{{dgray|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[LBLUE_R:{{#colorconvert:{{{lblue|000}}}|hex|rgb1}}] | [LBLUE_R:{{#colorconvert:{{{lblue|000}}}|hex|rgb1}}] | ||
[LBLUE_G:{{#colorconvert:{{{lblue|000}}}|hex|rgb2}}] | [LBLUE_G:{{#colorconvert:{{{lblue|000}}}|hex|rgb2}}] | ||
[LBLUE_B:{{#colorconvert:{{{lblue|000}}}|hex|rgb3}}] | [LBLUE_B:{{#colorconvert:{{{lblue|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[LGREEN_R:{{#colorconvert:{{{lgreen|000}}}|hex|rgb1}}] | [LGREEN_R:{{#colorconvert:{{{lgreen|000}}}|hex|rgb1}}] | ||
[LGREEN_G:{{#colorconvert:{{{lgreen|000}}}|hex|rgb2}}] | [LGREEN_G:{{#colorconvert:{{{lgreen|000}}}|hex|rgb2}}] | ||
[LGREEN_B:{{#colorconvert:{{{lgreen|000}}}|hex|rgb3}}] | [LGREEN_B:{{#colorconvert:{{{lgreen|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[LCYAN_R:{{#colorconvert:{{{lcyan|000}}}|hex|rgb1}}] | [LCYAN_R:{{#colorconvert:{{{lcyan|000}}}|hex|rgb1}}] | ||
[LCYAN_G:{{#colorconvert:{{{lcyan|000}}}|hex|rgb2}}] | [LCYAN_G:{{#colorconvert:{{{lcyan|000}}}|hex|rgb2}}] | ||
[LCYAN_B:{{#colorconvert:{{{lcyan|000}}}|hex|rgb3}}] | [LCYAN_B:{{#colorconvert:{{{lcyan|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[LRED_R:{{#colorconvert:{{{lred|000}}}|hex|rgb1}}] | [LRED_R:{{#colorconvert:{{{lred|000}}}|hex|rgb1}}] | ||
[LRED_G:{{#colorconvert:{{{lred|000}}}|hex|rgb2}}] | [LRED_G:{{#colorconvert:{{{lred|000}}}|hex|rgb2}}] | ||
[LRED_B:{{#colorconvert:{{{lred|000}}}|hex|rgb3}}] | [LRED_B:{{#colorconvert:{{{lred|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[LMAGENTA_R:{{#colorconvert:{{{lmagenta|000}}}|hex|rgb1}}] | [LMAGENTA_R:{{#colorconvert:{{{lmagenta|000}}}|hex|rgb1}}] | ||
[LMAGENTA_G:{{#colorconvert:{{{lmagenta|000}}}|hex|rgb2}}] | [LMAGENTA_G:{{#colorconvert:{{{lmagenta|000}}}|hex|rgb2}}] | ||
[LMAGENTA_B:{{#colorconvert:{{{lmagenta|000}}}|hex|rgb3}}] | [LMAGENTA_B:{{#colorconvert:{{{lmagenta|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[YELLOW_R:{{#colorconvert:{{{yellow|000}}}|hex|rgb1}}] | [YELLOW_R:{{#colorconvert:{{{yellow|000}}}|hex|rgb1}}] | ||
[YELLOW_G:{{#colorconvert:{{{yellow|000}}}|hex|rgb2}}] | [YELLOW_G:{{#colorconvert:{{{yellow|000}}}|hex|rgb2}}] | ||
[YELLOW_B:{{#colorconvert:{{{yellow|000}}}|hex|rgb3}}] | [YELLOW_B:{{#colorconvert:{{{yellow|000}}}|hex|rgb3}}] | ||
− | |||
− | |||
− | |||
[WHITE_R:{{#colorconvert:{{{white|000}}}|hex|rgb1}}] | [WHITE_R:{{#colorconvert:{{{white|000}}}|hex|rgb1}}] | ||
[WHITE_G:{{#colorconvert:{{{white|000}}}|hex|rgb2}}] | [WHITE_G:{{#colorconvert:{{{white|000}}}|hex|rgb2}}] | ||
[WHITE_B:{{#colorconvert:{{{white|000}}}|hex|rgb3}}] | [WHITE_B:{{#colorconvert:{{{white|000}}}|hex|rgb3}}] | ||
− | + | }} | |
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Latest revision as of 02:51, 2 September 2014
BLACK | DGRAY |
BLUE | LBLUE |
GREEN | LGREEN |
CYAN | LCYAN |
RED | LRED |
MAGENTA | LMAGENTA |
BROWN | YELLOW |
LGRAY | WHITE |
colors.txt |
---|
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:0]
[GREEN_R:0]
[GREEN_G:0]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:0]
[CYAN_B:0]
[RED_R:0]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:0]
[MAGENTA_G:0]
[MAGENTA_B:0]
[BROWN_R:0]
[BROWN_G:0]
[BROWN_B:0]
[LGRAY_R:0]
[LGRAY_G:0]
[LGRAY_B:0]
[DGRAY_R:0]
[DGRAY_G:0]
[DGRAY_B:0]
[LBLUE_R:0]
[LBLUE_G:0]
[LBLUE_B:0]
[LGREEN_R:0]
[LGREEN_G:0]
[LGREEN_B:0]
[LCYAN_R:0]
[LCYAN_G:0]
[LCYAN_B:0]
[LRED_R:0]
[LRED_G:0]
[LRED_B:0]
[LMAGENTA_R:0]
[LMAGENTA_G:0]
[LMAGENTA_B:0]
[YELLOW_R:0]
[YELLOW_G:0]
[YELLOW_B:0]
[WHITE_R:0]
[WHITE_G:0]
[WHITE_B:0]
|
(view - edit - history - purge) Documentation
This is a template for color schemes, designed for color scheme.
Notes
- This uses "gray", not "grey"
- Colors can be defined in any order
Example
{{color scheme |red=f00 |green=090 |blue=00f |white=fff |black=000 |brown=990 |yellow=ff0 |magenta=f0f |cyan=0ff |lcyan=6ff |lred=f66 |lgreen=6f6 |lblue=66f |lmagenta=f6f |dgray=666 |lgray=bbb }}
Produces:
BLACK | DGRAY |
BLUE | LBLUE |
GREEN | LGREEN |
CYAN | LCYAN |
RED | LRED |
MAGENTA | LMAGENTA |
BROWN | YELLOW |
LGRAY | WHITE |
colors.txt |
---|
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:255]
[GREEN_R:0]
[GREEN_G:153]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:255]
[CYAN_B:255]
[RED_R:255]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:255]
[MAGENTA_G:0]
[MAGENTA_B:255]
[BROWN_R:153]
[BROWN_G:153]
[BROWN_B:0]
[LGRAY_R:187]
[LGRAY_G:187]
[LGRAY_B:187]
[DGRAY_R:102]
[DGRAY_G:102]
[DGRAY_B:102]
[LBLUE_R:102]
[LBLUE_G:102]
[LBLUE_B:255]
[LGREEN_R:102]
[LGREEN_G:255]
[LGREEN_B:102]
[LCYAN_R:102]
[LCYAN_G:255]
[LCYAN_B:255]
[LRED_R:255]
[LRED_G:102]
[LRED_B:102]
[LMAGENTA_R:255]
[LMAGENTA_G:102]
[LMAGENTA_B:255]
[YELLOW_R:255]
[YELLOW_G:255]
[YELLOW_B:0]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]
|