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 "40d:Color scheme"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (mod template)
(intro, format. Proofreading re colors-uses chart requested - LMAGENTA?)
Line 1: Line 1:
 
{{mod}}
 
{{mod}}
  
== Using Color Schemes ==
+
Dwarf Fortress uses '''color schemes''' to determine how the game will be presented during play, whether a [[ranger]] will appear bright Kelly green or dark forest green, or whether [[microcline]] will be "eye blasting blue" or something more calm. The default scheme is quite bold - other schemes are easily possible, even to better accommodate those of us who problems seeing standard color mixes.
To use a color scheme, copy/paste a color list found below over <your Dwarf Fortress folder>/data/init/init.txt file's last section, where a similar list should already be present. (This list is the "default scheme" listed below when you first install the game.)
 
  
== Default Scheme ==
+
A scheme is broken down into 16 color labels:
  
If you lose the default scheme and neglected to make a backup, you can find the standard here, without having to download DF again.
+
:BLACK, DGRAY, LGRAY, WHITE, BROWN,<br />
 +
:LMAGENTA, MAGENTA, LRED, RED, YELLOW, <br />
 +
:LGREEN, GREEN, LBLUE, BLUE, LCYAN, & CYAN.
 +
 
 +
The color scheme data is located at the bottom of the [[init.txt]] file, found in Dwarf Fortress/data/init folder. 
 +
 
 +
==What colors show up where==
 +
 
 +
<!-- LMAGENTA??? halp!-->
 +
The easiest place to see all the colors next to each other is in the {{k|u}}nits list, where the different [[Skill#Professions.2C_colors.2C_.26_skill_categories|professional categories]] all have their identifying colors:
 +
 
 +
::{|cellpadding="2" border="1"
 +
! Use !! COLOR !!!! Use !! COLOR
 +
|-
 +
|  ''background'' || BLACK ||||  Craftsdwarfs ||LBLUE
 +
|-
 +
|  ''current job listing''* || LCYAN ||||  Fishery || BLUE
 +
|-
 +
|  Miners || LGRAY |||| Farmers || BROWN
 +
|-
 +
| Woodworkers ||  YELLOW  ||||  Engineers|| LRED
 +
|-
 +
|  Stoneworkers ||WHITE ||||  Administrators || MAGENTA
 +
|-
 +
|  Rangers || GREEN  |||| Peasants  ||CYAN
 +
|-
 +
|  Metalsmiths  || DGRAY  ||||  Children || RED
 +
|-
 +
| Jewelers || LGREEN |||| - || LMAGENTA
 +
|-
 +
|}
 +
 
 +
:''(* "On Break" is displayed in CYAN.)''
 +
 
 +
= Default Scheme =
 +
 
 +
If you lose the default scheme and neglected to make a backup (didn't we warn you to "use care and caution"?), you can find the standard here, without having to download DF again.
 +
 
 +
{| width="50%" style="margin-left: 1cm"
 +
|-
 +
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 +
| bgcolor="#000080" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 +
|-
 +
| bgcolor="#008000" width="50%"| <span style="color: #c0c0c0">GREEN</span>
 +
| bgcolor="#008080" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 +
|-
 +
| bgcolor="#800000" width="50%"| <span style="color: #c0c0c0">RED</span>
 +
| bgcolor="#800080" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
 +
|-
 +
| bgcolor="#808000" width="50%"| <span style="color: #c0c0c0">BROWN</span>
 +
| bgcolor="#c0c0c0" width="50%"| <span style="color: #000000">LGRAY</span>
 +
|-
 +
| bgcolor="#505050" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
 +
| bgcolor="#0000ff" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
 +
|-
 +
| bgcolor="#00ff00" width="50%"| <span style="color: #000000">LGREEN</span>
 +
| bgcolor="#00ffff" width="50%"| <span style="color: #000000">LCYAN</span>
 +
|-
 +
| bgcolor="#ff0000" width="50%"| <span style="color: #000000">LRED</span>
 +
| bgcolor="#ff00ff" width="50%"| <span style="color: #000000">LMAGENTA</span>
 +
|-
 +
| bgcolor="#ffff00" width="50%"| <span style="color: #000000">YELLOW</span>
 +
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 +
|-
 +
|}
  
 
<pre>[BLACK_R:0]
 
<pre>[BLACK_R:0]
Line 56: Line 119:
 
[WHITE_G:255]
 
[WHITE_G:255]
 
[WHITE_B:255]</pre>
 
[WHITE_B:255]</pre>
 +
 +
 +
= Custom color schemes =
 +
 +
The 16 colors are not fixed, except by their definitions in init.txt.  If you wanted to change YELLOW to something slightly brighter or darker, or more orange, or into deep purple, you can by changing the values listed under the label "YELLOW".
 +
 +
Players who are not satisfied with the default color scheme can alter things to suit their aesthetic tastes.  When designing a custom color, 3 "lights" of color are used: '''R'''ed, '''G'''reen, and '''B'''lue, on a scale of 0-255.  The more light (the higher the value), the brighter the color; the less light (the lower the value), the darker. Using "light" is not the same as using "pigment" (the standard "paint mixing" formulae we learned in school, where Red, Yellow and Blue are the 3 basic ingredients).  Since we're using Red, Green and Blue light, those are relatively easy to achieve - but look at the other standard colors that you know to start to understand how they mix together and how to "shade" or "tint" or brighten or darken a color - or you can simply find a color below that you like and go from that.  Always use caution to avoid colors that are "too similar".
 +
 +
To change to a new color scheme, copy/paste a color list (or part of one or more) found below (or make your own up) over the existing scheme - don't worry, if you don't like it, the original, default scheme is listed below.
 +
 +
In order for any scheme changes to take effect, the init.txt file must be Saved, and the game must be Quit and re-Started.
 +
 +
''(Note also that when posting screenshots to this wiki (and the forum boards), custom color schemes (or [[tilesets]]) can cause confusion with players who do not use those specific mixes.  This wiki requests you use one of the default set-ups that come with the game to post screenshots here.)''
 +
 +
 +
=== "Natural" scheme ===
 +
 +
This mix softens the garish colors of the original to earthtones.
  
 
{| width="50%" style="margin-left: 1cm"
 
{| width="50%" style="margin-left: 1cm"
 
|-
 
|-
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
| bgcolor="#000080" width="50%"| <span style="color: #c0c0c0">BLUE</span>
+
| bgcolor="#0d67c4" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 
|-
 
|-
| bgcolor="#008000" width="50%"| <span style="color: #c0c0c0">GREEN</span>
+
| bgcolor="#449e35" width="50%"| <span style="color: #c0c0c0">GREEN</span>
| bgcolor="#008080" width="50%"| <span style="color: #c0c0c0">CYAN</span>
+
| bgcolor="#56a3cd" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 
|-
 
|-
| bgcolor="#800000" width="50%"| <span style="color: #c0c0c0">RED</span>
+
| bgcolor="#971a1a" width="50%"| <span style="color: #c0c0c0">RED</span>
| bgcolor="#800080" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
+
| bgcolor="#ff6ebb" width="50%"| <span style="color: #000000">MAGENTA</span>
 
|-
 
|-
| bgcolor="#808000" width="50%"| <span style="color: #c0c0c0">BROWN</span>
+
| bgcolor="#785e2f" width="50%"| <span style="color: #c0c0c0">BROWN</span>
| bgcolor="#c0c0c0" width="50%"| <span style="color: #000000">LGRAY</span>
+
| bgcolor="#b9c0a2" width="50%"| <span style="color: #000000">LGRAY</span>
 
|-
 
|-
| bgcolor="#505050" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
+
| bgcolor="#585356" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
| bgcolor="#0000ff" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
+
| bgcolor="#91caff" width="50%"| <span style="color: #000000">LBLUE</span>
 
|-
 
|-
| bgcolor="#00ff00" width="50%"| <span style="color: #000000">LGREEN</span>
+
| bgcolor="#83d452" width="50%"| <span style="color: #000000">LGREEN</span>
| bgcolor="#00ffff" width="50%"| <span style="color: #000000">LCYAN</span>
+
| bgcolor="#b0dfd7" width="50%"| <span style="color: #000000">LCYAN</span>
 
|-
 
|-
| bgcolor="#ff0000" width="50%"| <span style="color: #000000">LRED</span>
+
| bgcolor="#ff2222" width="50%"| <span style="color: #000000">LRED</span>
| bgcolor="#ff00ff" width="50%"| <span style="color: #000000">LMAGENTA</span>
+
| bgcolor="#ffa7f6" width="50%"| <span style="color: #000000">LMAGENTA</span>
 
|-
 
|-
| bgcolor="#ffff00" width="50%"| <span style="color: #000000">YELLOW</span>
+
| bgcolor="#ffda5a" width="50%"| <span style="color: #000000">YELLOW</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
|-
 
|-
 
|}
 
|}
 
== Custom color schemes ==
 
 
Players who are not satisfied with the traditional 16-[[color]] scheme can alter things to suit their aesthetic tastes. Replace the color information text in your [[init file]] ''(data\init\init.txt)'' with the following:
 
 
=== "Natural" scheme ===
 
  
 
<pre>
 
<pre>
Line 141: Line 216:
 
[WHITE_B:255]
 
[WHITE_B:255]
 
</pre>
 
</pre>
 +
 +
 +
=== Another scheme ===
 +
 
{| width="50%" style="margin-left: 1cm"
 
{| width="50%" style="margin-left: 1cm"
 
|-
 
|-
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
| bgcolor="#0d67c4" width="50%"| <span style="color: #c0c0c0">BLUE</span>
+
| bgcolor="#495f9d" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 
|-
 
|-
| bgcolor="#449e35" width="50%"| <span style="color: #c0c0c0">GREEN</span>
+
| bgcolor="#597537" width="50%"| <span style="color: #c0c0c0">GREEN</span>
| bgcolor="#56a3cd" width="50%"| <span style="color: #c0c0c0">CYAN</span>
+
| bgcolor="#65909e" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 
|-
 
|-
| bgcolor="#971a1a" width="50%"| <span style="color: #c0c0c0">RED</span>
+
| bgcolor="#920000" width="50%"| <span style="color: #c0c0c0">RED</span>
| bgcolor="#ff6ebb" width="50%"| <span style="color: #000000">MAGENTA</span>
+
| bgcolor="#a53665" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
 
|-
 
|-
| bgcolor="#785e2f" width="50%"| <span style="color: #c0c0c0">BROWN</span>
+
| bgcolor="#8a693b" width="50%"| <span style="color: #c0c0c0">BROWN</span>
| bgcolor="#b9c0a2" width="50%"| <span style="color: #000000">LGRAY</span>
+
| bgcolor="#808080" width="50%"| <span style="color: #c0c0c0">LGRAY</span>
 
|-
 
|-
| bgcolor="#585356" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
+
| bgcolor="#505050" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
| bgcolor="#91caff" width="50%"| <span style="color: #000000">LBLUE</span>
+
| bgcolor="#6f8aa5" width="50%"| <span style="color: #000000">LBLUE</span>
 
|-
 
|-
| bgcolor="#83d452" width="50%"| <span style="color: #000000">LGREEN</span>
+
| bgcolor="#a0c852" width="50%"| <span style="color: #000000">LGREEN</span>
| bgcolor="#b0dfd7" width="50%"| <span style="color: #000000">LCYAN</span>
+
| bgcolor="#9fc4d2" width="50%"| <span style="color: #000000">LCYAN</span>
 
|-
 
|-
| bgcolor="#ff2222" width="50%"| <span style="color: #000000">LRED</span>
+
| bgcolor="#ce4901" width="50%"| <span style="color: #000000">LRED</span>
| bgcolor="#ffa7f6" width="50%"| <span style="color: #000000">LMAGENTA</span>
+
| bgcolor="#ef96cf" width="50%"| <span style="color: #000000">LMAGENTA</span>
 
|-
 
|-
| bgcolor="#ffda5a" width="50%"| <span style="color: #000000">YELLOW</span>
+
| bgcolor="#ffc600" width="50%"| <span style="color: #000000">YELLOW</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
|-
 
|-
 
|}
 
|}
 
 
=== Another scheme ===
 
  
 
<pre>
 
<pre>
Line 222: Line 298:
 
[WHITE_B:255]  
 
[WHITE_B:255]  
 
</pre>
 
</pre>
 +
 +
 +
=== True CGA Scheme ===
 +
 +
This scheme uses the genuine [http://en.wikipedia.org/wiki/Color_Graphics_Adapter CGA] palette, in case you're an old-school purist. 
 +
 +
''(Note that the CGA "brown" is difficult to distinguish from "red" unless it is immediately nearby.  For a slightly more readable version, you can "cheat" and replace the BROWN_G with the following:''
 +
:[BROWN_G:170]'')''.
  
 
{| width="50%" style="margin-left: 1cm"
 
{| width="50%" style="margin-left: 1cm"
 
|-
 
|-
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
| bgcolor="#495f9d" width="50%"| <span style="color: #c0c0c0">BLUE</span>
+
| bgcolor="#0000aa" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 
|-
 
|-
| bgcolor="#597537" width="50%"| <span style="color: #c0c0c0">GREEN</span>
+
| bgcolor="#00aa00" width="50%"| <span style="color: #c0c0c0">GREEN</span>
| bgcolor="#65909e" width="50%"| <span style="color: #c0c0c0">CYAN</span>
+
| bgcolor="#00aaaa" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 
|-
 
|-
| bgcolor="#920000" width="50%"| <span style="color: #c0c0c0">RED</span>
+
| bgcolor="#aa0000" width="50%"| <span style="color: #c0c0c0">RED</span>
| bgcolor="#a53665" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
+
| bgcolor="#aa00aa" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
 
|-
 
|-
| bgcolor="#8a693b" width="50%"| <span style="color: #c0c0c0">BROWN</span>
+
| bgcolor="#aa5500" width="50%"| <span style="color: #c0c0c0">BROWN</span>
| bgcolor="#808080" width="50%"| <span style="color: #c0c0c0">LGRAY</span>
+
| bgcolor="#aaaaaa" width="50%"| <span style="color: #000000">LGRAY</span>
 
|-
 
|-
| bgcolor="#505050" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
+
| bgcolor="#555555" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
| bgcolor="#6f8aa5" width="50%"| <span style="color: #000000">LBLUE</span>
+
| bgcolor="#5555ff" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
 
|-
 
|-
| bgcolor="#a0c852" width="50%"| <span style="color: #000000">LGREEN</span>
+
| bgcolor="#55ff55" width="50%"| <span style="color: #000000">LGREEN</span>
| bgcolor="#9fc4d2" width="50%"| <span style="color: #000000">LCYAN</span>
+
| bgcolor="#55ffff" width="50%"| <span style="color: #000000">LCYAN</span>
 
|-
 
|-
| bgcolor="#ce4901" width="50%"| <span style="color: #000000">LRED</span>
+
| bgcolor="#ff5555" width="50%"| <span style="color: #000000">LRED</span>
| bgcolor="#ef96cf" width="50%"| <span style="color: #000000">LMAGENTA</span>
+
| bgcolor="#ff55ff" width="50%"| <span style="color: #000000">LMAGENTA</span>
 
|-
 
|-
| bgcolor="#ffc600" width="50%"| <span style="color: #000000">YELLOW</span>
+
| bgcolor="#ffff55" width="50%"| <span style="color: #000000">YELLOW</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
|-
 
|-
 
|}
 
|}
 
 
=== True CGA Scheme ===
 
 
This scheme uses the genuine [http://en.wikipedia.org/wiki/Color_Graphics_Adapter CGA] palette, in case you're a purist.  Note that the CGA "brown" is difficult to distinguish from "red" unless it is immediately nearby.
 
  
 
<pre>[BLACK_R:0]
 
<pre>[BLACK_R:0]
Line 305: Line 384:
 
[WHITE_B:255]</pre>
 
[WHITE_B:255]</pre>
  
For a slightly more readable version, you can "cheat" and replace the BROWN_G with the following:
+
 
[BROWN_G:170]
+
=== (Yet) Another scheme ===
  
 
{| width="50%" style="margin-left: 1cm"
 
{| width="50%" style="margin-left: 1cm"
 
|-
 
|-
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
| bgcolor="#0000aa" width="50%"| <span style="color: #c0c0c0">BLUE</span>
+
| bgcolor="#203090" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 
|-
 
|-
| bgcolor="#00aa00" width="50%"| <span style="color: #c0c0c0">GREEN</span>
+
| bgcolor="#309020" width="50%"| <span style="color: #c0c0c0">GREEN</span>
| bgcolor="#00aaaa" width="50%"| <span style="color: #c0c0c0">CYAN</span>
+
| bgcolor="#208090" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 
|-
 
|-
| bgcolor="#aa0000" width="50%"| <span style="color: #c0c0c0">RED</span>
+
| bgcolor="#971a1a" width="50%"| <span style="color: #c0c0c0">RED</span>
| bgcolor="#aa00aa" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
+
| bgcolor="#702090" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
 
|-
 
|-
| bgcolor="#aa5500" width="50%"| <span style="color: #c0c0c0">BROWN</span>
+
| bgcolor="#907030" width="50%"| <span style="color: #c0c0c0">BROWN</span>
| bgcolor="#aaaaaa" width="50%"| <span style="color: #000000">LGRAY</span>
+
| bgcolor="#b0b0b0" width="50%"| <span style="color: #000000">LGRAY</span>
 
|-
 
|-
| bgcolor="#555555" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
+
| bgcolor="#707070" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
| bgcolor="#5555ff" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
+
| bgcolor="#2838ff" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
 
|-
 
|-
| bgcolor="#55ff55" width="50%"| <span style="color: #000000">LGREEN</span>
+
| bgcolor="#30f020" width="50%"| <span style="color: #000000">LGREEN</span>
| bgcolor="#55ffff" width="50%"| <span style="color: #000000">LCYAN</span>
+
| bgcolor="#38d0ff" width="50%"| <span style="color: #000000">LCYAN</span>
 
|-
 
|-
| bgcolor="#ff5555" width="50%"| <span style="color: #000000">LRED</span>
+
| bgcolor="#ff3020" width="50%"| <span style="color: #000000">LRED</span>
| bgcolor="#ff55ff" width="50%"| <span style="color: #000000">LMAGENTA</span>
+
| bgcolor="#d038ff" width="50%"| <span style="color: #000000">LMAGENTA</span>
 
|-
 
|-
| bgcolor="#ffff55" width="50%"| <span style="color: #000000">YELLOW</span>
+
| bgcolor="#ffe020" width="50%"| <span style="color: #000000">YELLOW</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
 
|-
 
|-
 
|}
 
|}
 
=== (Yet) Another scheme ===
 
  
 
<pre>
 
<pre>
Line 387: Line 464:
 
[WHITE_G:255]
 
[WHITE_G:255]
 
[WHITE_B:255]</pre>
 
[WHITE_B:255]</pre>
 +
 +
 +
=== For the Chromatically Challenged ===
 +
 +
Colour blindness can result in colours being too similar, such as red and brown, so this scheme sacrifices true colour accuracy for a greater difference in hues. If you have normal colour vision, then this probably looks really weird.
 +
  
 
{| width="50%" style="margin-left: 1cm"
 
{| width="50%" style="margin-left: 1cm"
 
|-
 
|-
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
| bgcolor="#203090" width="50%"| <span style="color: #c0c0c0">BLUE</span>
+
| bgcolor="#0000C0" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 
|-
 
|-
| bgcolor="#309020" width="50%"| <span style="color: #c0c0c0">GREEN</span>
+
| bgcolor="#008000" width="50%"| <span style="color: #c0c0c0">GREEN</span>
| bgcolor="#208090" width="50%"| <span style="color: #c0c0c0">CYAN</span>
+
| bgcolor="#007090" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 
|-
 
|-
| bgcolor="#971a1a" width="50%"| <span style="color: #c0c0c0">RED</span>
+
| bgcolor="#C00000" width="50%"| <span style="color: #c0c0c0">RED</span>
| bgcolor="#702090" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
+
| bgcolor="#A00080" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
 
|-
 
|-
| bgcolor="#907030" width="50%"| <span style="color: #c0c0c0">BROWN</span>
+
| bgcolor="#606000" width="50%"| <span style="color: #c0c0c0">BROWN</span>
| bgcolor="#b0b0b0" width="50%"| <span style="color: #000000">LGRAY</span>
+
| bgcolor="#C0C0C0" width="50%"| <span style="color: #000000">LGRAY</span>
 
|-
 
|-
| bgcolor="#707070" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
+
| bgcolor="#808080" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
| bgcolor="#2838ff" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
+
| bgcolor="#3030FF" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
 
|-
 
|-
| bgcolor="#30f020" width="50%"| <span style="color: #000000">LGREEN</span>
+
| bgcolor="#00D000" width="50%"| <span style="color: #000000">LGREEN</span>
| bgcolor="#38d0ff" width="50%"| <span style="color: #000000">LCYAN</span>
+
| bgcolor="#40D0FF" width="50%"| <span style="color: #000000">LCYAN</span>
 
|-
 
|-
| bgcolor="#ff3020" width="50%"| <span style="color: #000000">LRED</span>
+
| bgcolor="#FF3030" width="50%"| <span style="color: #000000">LRED</span>
| bgcolor="#d038ff" width="50%"| <span style="color: #000000">LMAGENTA</span>
+
| bgcolor="#FF40D0" width="50%"| <span style="color: #000000">LMAGENTA</span>
 
|-
 
|-
| bgcolor="#ffe020" width="50%"| <span style="color: #000000">YELLOW</span>
+
| bgcolor="#FFFF40" width="50%"| <span style="color: #000000">YELLOW</span>
| bgcolor="#ffffff" width="50%"| <span style="color: #000000">WHITE</span>
+
| bgcolor="#FFFFFF" width="50%"| <span style="color: #000000">WHITE</span>
 
|-
 
|-
 
|}
 
|}
 
 
=== For the Chromatically Challenged ===
 
 
Colour blindness can result in colours being too similar, such as red and brown, so this scheme sacrifices true colour accuracy for a greater difference in hues. If you have normal colour vision, then this probably looks really weird.
 
  
 
<pre>
 
<pre>
Line 470: Line 548:
 
[WHITE_G:255]
 
[WHITE_G:255]
 
[WHITE_B:255]</pre>
 
[WHITE_B:255]</pre>
 
{| width="50%" style="margin-left: 1cm"
 
|-
 
| bgcolor="#000000" width="50%"| <span style="color: #c0c0c0">BLACK</span>
 
| bgcolor="#0000C0" width="50%"| <span style="color: #c0c0c0">BLUE</span>
 
|-
 
| bgcolor="#008000" width="50%"| <span style="color: #c0c0c0">GREEN</span>
 
| bgcolor="#007090" width="50%"| <span style="color: #c0c0c0">CYAN</span>
 
|-
 
| bgcolor="#C00000" width="50%"| <span style="color: #c0c0c0">RED</span>
 
| bgcolor="#A00080" width="50%"| <span style="color: #c0c0c0">MAGENTA</span>
 
|-
 
| bgcolor="#606000" width="50%"| <span style="color: #c0c0c0">BROWN</span>
 
| bgcolor="#C0C0C0" width="50%"| <span style="color: #000000">LGRAY</span>
 
|-
 
| bgcolor="#808080" width="50%"| <span style="color: #c0c0c0">DGRAY</span>
 
| bgcolor="#3030FF" width="50%"| <span style="color: #c0c0c0">LBLUE</span>
 
|-
 
| bgcolor="#00D000" width="50%"| <span style="color: #000000">LGREEN</span>
 
| bgcolor="#40D0FF" width="50%"| <span style="color: #000000">LCYAN</span>
 
|-
 
| bgcolor="#FF3030" width="50%"| <span style="color: #000000">LRED</span>
 
| bgcolor="#FF40D0" width="50%"| <span style="color: #000000">LMAGENTA</span>
 
|-
 
| bgcolor="#FFFF40" width="50%"| <span style="color: #000000">YELLOW</span>
 
| bgcolor="#FFFFFF" width="50%"| <span style="color: #000000">WHITE</span>
 
|-
 
|}
 
  
 
[[Category:Mods]]
 
[[Category:Mods]]

Revision as of 18:34, 21 October 2009

Dwarf Fortress uses color schemes to determine how the game will be presented during play, whether a ranger will appear bright Kelly green or dark forest green, or whether microcline will be "eye blasting blue" or something more calm. The default scheme is quite bold - other schemes are easily possible, even to better accommodate those of us who problems seeing standard color mixes.

A scheme is broken down into 16 color labels:

BLACK, DGRAY, LGRAY, WHITE, BROWN,
LMAGENTA, MAGENTA, LRED, RED, YELLOW,
LGREEN, GREEN, LBLUE, BLUE, LCYAN, & CYAN.

The color scheme data is located at the bottom of the init.txt file, found in Dwarf Fortress/data/init folder.

What colors show up where

The easiest place to see all the colors next to each other is in the units list, where the different professional categories all have their identifying colors:

Use COLOR Use COLOR
background BLACK Craftsdwarfs LBLUE
current job listing* LCYAN Fishery BLUE
Miners LGRAY Farmers BROWN
Woodworkers YELLOW Engineers LRED
Stoneworkers WHITE Administrators MAGENTA
Rangers GREEN Peasants CYAN
Metalsmiths DGRAY Children RED
Jewelers LGREEN - LMAGENTA
(* "On Break" is displayed in CYAN.)

Default Scheme

If you lose the default scheme and neglected to make a backup (didn't we warn you to "use care and caution"?), you can find the standard here, without having to download DF again.

BLACK BLUE
GREEN CYAN
RED MAGENTA
BROWN LGRAY
DGRAY LBLUE
LGREEN LCYAN
LRED LMAGENTA
YELLOW WHITE
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:128]
[GREEN_R:0]
[GREEN_G:128]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:128]
[CYAN_B:128]
[RED_R:128]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:128]
[MAGENTA_G:0]
[MAGENTA_B:128]
[BROWN_R:128]
[BROWN_G:128]
[BROWN_B:0]
[LGRAY_R:192]
[LGRAY_G:192]
[LGRAY_B:192]
[DGRAY_R:128]
[DGRAY_G:128]
[DGRAY_B:128]
[LBLUE_R:0]
[LBLUE_G:0]
[LBLUE_B:255]
[LGREEN_R:0]
[LGREEN_G:255]
[LGREEN_B:0]
[LCYAN_R:0]
[LCYAN_G:255]
[LCYAN_B:255]
[LRED_R:255]
[LRED_G:0]
[LRED_B:0]
[LMAGENTA_R:255]
[LMAGENTA_G:0]
[LMAGENTA_B:255]
[YELLOW_R:255]
[YELLOW_G:255]
[YELLOW_B:0]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]


Custom color schemes

The 16 colors are not fixed, except by their definitions in init.txt. If you wanted to change YELLOW to something slightly brighter or darker, or more orange, or into deep purple, you can by changing the values listed under the label "YELLOW".

Players who are not satisfied with the default color scheme can alter things to suit their aesthetic tastes. When designing a custom color, 3 "lights" of color are used: Red, Green, and Blue, on a scale of 0-255. The more light (the higher the value), the brighter the color; the less light (the lower the value), the darker. Using "light" is not the same as using "pigment" (the standard "paint mixing" formulae we learned in school, where Red, Yellow and Blue are the 3 basic ingredients). Since we're using Red, Green and Blue light, those are relatively easy to achieve - but look at the other standard colors that you know to start to understand how they mix together and how to "shade" or "tint" or brighten or darken a color - or you can simply find a color below that you like and go from that. Always use caution to avoid colors that are "too similar".

To change to a new color scheme, copy/paste a color list (or part of one or more) found below (or make your own up) over the existing scheme - don't worry, if you don't like it, the original, default scheme is listed below.

In order for any scheme changes to take effect, the init.txt file must be Saved, and the game must be Quit and re-Started.

(Note also that when posting screenshots to this wiki (and the forum boards), custom color schemes (or tilesets) can cause confusion with players who do not use those specific mixes. This wiki requests you use one of the default set-ups that come with the game to post screenshots here.)


"Natural" scheme

This mix softens the garish colors of the original to earthtones.

BLACK BLUE
GREEN CYAN
RED MAGENTA
BROWN LGRAY
DGRAY LBLUE
LGREEN LCYAN
LRED LMAGENTA
YELLOW WHITE
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:13]
[BLUE_G:103]
[BLUE_B:196]
[GREEN_R:68]
[GREEN_G:158]
[GREEN_B:53]
[CYAN_R:86]
[CYAN_G:163]
[CYAN_B:205]
[RED_R:151]
[RED_G:26]
[RED_B:26]
[MAGENTA_R:255]
[MAGENTA_G:110]
[MAGENTA_B:187]
[BROWN_R:120]
[BROWN_G:94]
[BROWN_B:47]
[LGRAY_R:185]
[LGRAY_G:192]
[LGRAY_B:162]
[DGRAY_R:88]
[DGRAY_G:83]
[DGRAY_B:86]
[LBLUE_R:145]
[LBLUE_G:202]
[LBLUE_B:255]
[LGREEN_R:131]
[LGREEN_G:212]
[LGREEN_B:82]
[LCYAN_R:176]
[LCYAN_G:223]
[LCYAN_B:215]
[LRED_R:255]
[LRED_G:34]
[LRED_B:34]
[LMAGENTA_R:255]
[LMAGENTA_G:167]
[LMAGENTA_B:246]
[YELLOW_R:255]
[YELLOW_G:218]
[YELLOW_B:90]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]


Another scheme

BLACK BLUE
GREEN CYAN
RED MAGENTA
BROWN LGRAY
DGRAY LBLUE
LGREEN LCYAN
LRED LMAGENTA
YELLOW WHITE
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:73]
[BLUE_G:95]
[BLUE_B:157]
[GREEN_R:89]
[GREEN_G:117]
[GREEN_B:55]
[CYAN_R:101]
[CYAN_G:144]
[CYAN_B:158]
[RED_R:146]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:165]
[MAGENTA_G:54]
[MAGENTA_B:101]
[BROWN_R:138]
[BROWN_G:105]
[BROWN_B:59]
[LGRAY_R:128]
[LGRAY_G:128]
[LGRAY_B:128]
[DGRAY_R:80]
[DGRAY_G:80]
[DGRAY_B:80]
[LBLUE_R:111]
[LBLUE_G:138]
[LBLUE_B:165]
[LGREEN_R:160]
[LGREEN_G:200]
[LGREEN_B:82]
[LCYAN_R:159]
[LCYAN_G:196]
[LCYAN_B:210]
[LRED_R:206]
[LRED_G:73]
[LRED_B:1]
[LMAGENTA_R:239]
[LMAGENTA_G:150]
[LMAGENTA_B:207]
[YELLOW_R:255]
[YELLOW_G:198]
[YELLOW_B:0]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255] 


True CGA Scheme

This scheme uses the genuine CGA palette, in case you're an old-school purist.

(Note that the CGA "brown" is difficult to distinguish from "red" unless it is immediately nearby. For a slightly more readable version, you can "cheat" and replace the BROWN_G with the following:

[BROWN_G:170]).
BLACK BLUE
GREEN CYAN
RED MAGENTA
BROWN LGRAY
DGRAY LBLUE
LGREEN LCYAN
LRED LMAGENTA
YELLOW WHITE
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:170]
[GREEN_R:0]
[GREEN_G:170]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:170]
[CYAN_B:170]
[RED_R:170]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:170]
[MAGENTA_G:0]
[MAGENTA_B:170]
[BROWN_R:170]
[BROWN_G:85]
[BROWN_B:0]
[LGRAY_R:170]
[LGRAY_G:170]
[LGRAY_B:170]
[DGRAY_R:85]
[DGRAY_G:85]
[DGRAY_B:85]
[LBLUE_R:85]
[LBLUE_G:85]
[LBLUE_B:255]
[LGREEN_R:85]
[LGREEN_G:255]
[LGREEN_B:85]
[LCYAN_R:85]
[LCYAN_G:255]
[LCYAN_B:255]
[LRED_R:255]
[LRED_G:85]
[LRED_B:85]
[LMAGENTA_R:255]
[LMAGENTA_G:85]
[LMAGENTA_B:255]
[YELLOW_R:255]
[YELLOW_G:255]
[YELLOW_B:85]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]


(Yet) Another scheme

BLACK BLUE
GREEN CYAN
RED MAGENTA
BROWN LGRAY
DGRAY LBLUE
LGREEN LCYAN
LRED LMAGENTA
YELLOW WHITE
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:32]
[BLUE_G:48]
[BLUE_B:144]
[GREEN_R:48]
[GREEN_G:144]
[GREEN_B:32]
[CYAN_R:32]
[CYAN_G:128]
[CYAN_B:144]
[RED_R:151]
[RED_G:26]
[RED_B:26]
[MAGENTA_R:112]
[MAGENTA_G:32]
[MAGENTA_B:144]
[BROWN_R:144]
[BROWN_G:112]
[BROWN_B:48]
[LGRAY_R:176]
[LGRAY_G:176]
[LGRAY_B:176]
[DGRAY_R:112]
[DGRAY_G:112]
[DGRAY_B:112]
[LBLUE_R:40]
[LBLUE_G:56]
[LBLUE_B:255]
[LGREEN_R:48]
[LGREEN_G:240]
[LGREEN_B:32]
[LCYAN_R:56]
[LCYAN_G:208]
[LCYAN_B:255]
[LRED_R:255]
[LRED_G:48]
[LRED_B:32]
[LMAGENTA_R:208]
[LMAGENTA_G:56]
[LMAGENTA_B:255]
[YELLOW_R:255]
[YELLOW_G:224]
[YELLOW_B:32]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]


For the Chromatically Challenged

Colour blindness can result in colours being too similar, such as red and brown, so this scheme sacrifices true colour accuracy for a greater difference in hues. If you have normal colour vision, then this probably looks really weird.


BLACK BLUE
GREEN CYAN
RED MAGENTA
BROWN LGRAY
DGRAY LBLUE
LGREEN LCYAN
LRED LMAGENTA
YELLOW WHITE
[BLACK_R:0]
[BLACK_G:0]
[BLACK_B:0]
[BLUE_R:0]
[BLUE_G:0]
[BLUE_B:192]
[GREEN_R:0]
[GREEN_G:128]
[GREEN_B:0]
[CYAN_R:0]
[CYAN_G:112]
[CYAN_B:144]
[RED_R:192]
[RED_G:0]
[RED_B:0]
[MAGENTA_R:160]
[MAGENTA_G:0]
[MAGENTA_B:128]
[BROWN_R:96]
[BROWN_G:96]
[BROWN_B:0]
[LGRAY_R:192]
[LGRAY_G:192]
[LGRAY_B:192]
[DGRAY_R:128]
[DGRAY_G:128]
[DGRAY_B:128]
[LBLUE_R:48]
[LBLUE_G:48]
[LBLUE_B:255]
[LGREEN_R:0]
[LGREEN_G:224]
[LGREEN_B:0]
[LCYAN_R:64]
[LCYAN_G:224]
[LCYAN_B:255]
[LRED_R:255]
[LRED_G:48]
[LRED_B:48]
[LMAGENTA_R:255]
[LMAGENTA_G:64]
[LMAGENTA_B:224]
[YELLOW_R:255]
[YELLOW_G:255]
[YELLOW_B:64]
[WHITE_R:255]
[WHITE_G:255]
[WHITE_B:255]