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.

Editing 40d:Color scheme

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{av}}{{Quality|Exceptional|10:16, 7 June 2010 (UTC)}}
+
{{av}}
  
  
''(For a discussion of how DF displays different items and decides which colors get altered and when, see [[color]].)''
+
''(For a discussion of how DF displays different items and decides which colors get altered and when, see {{L|color}}.)''
  
Dwarf Fortress uses '''color schemes''' to determine how the game will be presented during play, whether a [[ranger]] will appear bright Spring green or dark forest green, or whether [[microcline]] will be "eye blasting blue" or something more calm.  The default scheme is quite bold and dark - other schemes are easily possible, even to better accommodate those of us with problems seeing standard color mixes, or just can't take "eye blasting blue".   
+
Dwarf Fortress uses '''color schemes''' to determine how the game will be presented during play, whether a {{L|ranger}} will appear bright Spring green or dark forest green, or whether {{L|microcline}} will be "eye blasting blue" or something more calm.  The default scheme is quite bold and dark - other schemes are easily possible, even to better accommodate those of us with problems seeing standard color mixes, or just can't take "eye blasting blue".   
  
 
A color scheme is broken down into 16 color labels, mated into 8 pairs:
 
A color scheme is broken down into 16 color labels, mated into 8 pairs:
Line 17: Line 17:
 
:LGRAY, WHITE
 
:LGRAY, WHITE
  
The color scheme data is located at the bottom of the [[init.txt]] file, found in the Dwarf Fortress/data/init folder.   
+
The color scheme data is located at the bottom of the {{L|init.txt}} file, found in the Dwarf Fortress/data/init folder.   
  
 
==What colors show up where==
 
==What colors show up where==
  
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.  In that order (and with the default color values), they are...
+
The easiest place to see all the colors next to each other is in the {{k|u}}nits list, where the different {{L|Skill#Professions.2C_colors.2C_.26_skill_categories|professional categories}} all have their identifying colors.  In that order (and with the default color values), they are...
  
  
Line 28: Line 28:
 
| valign='top' |
 
| valign='top' |
  
{{Skill Box|BLACK|0:0|0:0|
+
{{Skill Box|BLACK|#000|#000|
 
''background''
 
''background''
 
}}
 
}}
  
{{Skill Box|LCYAN|0:0|3:1|
+
{{Skill Box|LCYAN|#000|#0ff|
 
''current job listing*''
 
''current job listing*''
 
}}
 
}}
  
{{Skill Box|LGRAY|7:0|7:0|
+
{{Skill Box|LGRAY|#ccc|#ccc|
[[Miner]]s
+
{{L|Miner}}s
 
}}
 
}}
  
{{Skill Box|YELLOW|6:1|6:1|
+
{{Skill Box|YELLOW|#ff0|#ff0|
[[Woodworker]]s
+
{{L|Woodworker}}s
 
}}
 
}}
  
 
| valign='top' |
 
| valign='top' |
  
{{Skill Box|WHITE|7:1|7:1|
+
{{Skill Box|WHITE|#fff|#fff|
[[Stoneworker]]s
+
{{L|Stoneworker}}s
 
}}
 
}}
  
{{Skill Box|GREEN|2:0|2:0|
+
{{Skill Box|GREEN|#080|#080|
[[Ranger]]s
+
{{L|Ranger}}s
 
}}
 
}}
  
{{Skill Box|DGRAY|0:1|0:1|
+
{{Skill Box|DGRAY|#888|#888|
[[Metalsmith]]s
+
{{L|Metalsmith}}s
 
}}
 
}}
  
{{Skill Box|LGREEN|2:1|2:1|
+
{{Skill Box|LGREEN|#0f0|#0f0|
[[Jeweler]]s
+
{{L|Jeweler}}s
 
}}
 
}}
  
 
| valign='top' |
 
| valign='top' |
  
{{Skill Box|LBLUE|1:1|1:1|
+
{{Skill Box|LBLUE|#00f|#00f|
[[Craftsdwarf]]s
+
{{L|Craftsdwarf}}s
 
}}
 
}}
  
{{Skill Box|BLUE|1:0|1:0|
+
{{Skill Box|BLUE|#008|#008|
[[Fishery worker]]
+
{{L|Fishery Worker}}
 
}}
 
}}
  
{{Skill Box|BROWN|6:0|6:0|
+
{{Skill Box|BROWN|#880|#880|
[[Farmer]]s
+
{{L|Farmer}}s
 
}}
 
}}
  
{{Skill Box|LRED|4:1|4:1|
+
{{Skill Box|LRED|#f00|#f00|
[[Engineer]]s
+
{{L|Engineer}}s
 
}}
 
}}
  
 
| valign='top' |
 
| valign='top' |
  
{{Skill Box|MAGENTA|5:0|5:0|
+
{{Skill Box|MAGENTA|#808|#808|
[[Administrator]]s
+
{{L|Administrator}}s
 
}}
 
}}
  
{{Skill Box|CYAN|3:0|3:0|
+
{{Skill Box|CYAN|#088|#088|
[[Peasant]]s
+
{{L|Peasant}}s
 
}}
 
}}
  
{{Skill Box|RED|4:0|4:0|
+
{{Skill Box|RED|#800|#800|
[[Child]]ren
+
{{L|Child}}ren
 
}}
 
}}
  
{{Skill Box|LMAGENTA|0:0|5:1|
+
{{Skill Box|LMAGENTA|#000|#f0f|
 
''deceased''
 
''deceased''
 
}}
 
}}
Line 102: Line 102:
  
 
Some other color uses:
 
Some other color uses:
:* [[Magma]] is LRED. (Magma 1 level lower than current view is RED.)
+
:* {{L|Magma|Magma}} is LRED. (Magma 1 level lower than current view is RED.)
:* [[Water]] is LBLUE. (Water 1 level lower than current view is BLUE.)
+
:* {{L|Water|Water}} is LBLUE. (Water 1 level lower than current view is BLUE.)
:* [[River]]s and [[brook]]s are LCYAN on their surface (w/ water below).
+
:* {{L|River|River}}s and {{L|brook|brook}}s are LCYAN on their surface (w/ water below).
  
 
= Default Scheme =
 
= Default Scheme =
Line 110: Line 110:
 
The default Dwarf Fortress color scheme is based off the 16 standard HTML colors, as discussed [http://en.wikipedia.org/wiki/Web_colors#HTML_color_names here].  (Some have been renamed in DF, but the tones themselves are the same.)
 
The default Dwarf Fortress color scheme is based off the 16 standard HTML colors, as discussed [http://en.wikipedia.org/wiki/Web_colors#HTML_color_names here].  (Some have been renamed in DF, but the tones themselves are the same.)
  
These are broken up into 8 pairs, one darker, one lighter, as ordered below.  When a color is flashing or a displayed tile is "dark/bright" according to the game display, these colors are the two that work "together" to create that contrast.  Keep this in mind if creating a [[Color scheme#Custom color schemes|custom color scheme]], as described below.  (See [[Color]] for a more complete discussion.)
+
These are broken up into 8 pairs, one darker, one lighter, as ordered below.  When a color is flashing or a displayed tile is "dark/bright" according to the game display, these colors are the two that work "together" to create that contrast.  Keep this in mind if creating a {{L|#Custom color schemes|custom color scheme}}, as described below.  (See {{L|Color|Color}} for a more complete discussion.)
  
 
If you lose the default scheme and neglected to make a backup ''(didn't we warn you to use "care and caution" when modding?)'', you can find the standard scheme below, without having to download DF again.
 
If you lose the default scheme and neglected to make a backup ''(didn't we warn you to use "care and caution" when modding?)'', you can find the standard scheme below, without having to download DF again.
  
Open Dwarf Fortress/data/init/[[init.txt]], and copy the text as seen below over the values found at the very bottom of the file.  Save that file, restart Dwarf Fortress, and you're set.
+
Open Dwarf Fortress/data/init/{{L|init.txt|init.txt}}, and copy the text as seen below over the values found at the very bottom of the file.  Save that file, re-start Dwarf Fortress, and you're set.
  
 
{| width="50%" style="margin-left: 1cm"
 
{| width="50%" style="margin-left: 1cm"
Line 200: Line 200:
 
When designing a custom color, 3 "lights" of color are used: '''R'''ed, '''G'''reen, and '''B'''lue (RGB), 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)'' - B+R does not give "purple" in this format.   
 
When designing a custom color, 3 "lights" of color are used: '''R'''ed, '''G'''reen, and '''B'''lue (RGB), 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)'' - B+R does not give "purple" in this format.   
  
Since we're using Red, Green and Blue light, some form of those three colors is relatively easy to achieve - but look at examples of the other standard colors below 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, or use one of these [[Color#Color_tokens|standard RGB colors]].  Always use caution to avoid ending up with colors that are "too similar".
+
Since we're using Red, Green and Blue light, some form of those three colors is relatively easy to achieve - but look at examples of the other standard colors below 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, or use one of these {{L|Color#Color_tokens|standard RGB colors}}.  Always use caution to avoid ending up with 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 above.
 
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 above.
Line 206: Line 206:
 
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.
 
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.)''
+
''(Note also that when posting screenshots to this wiki (and the forum boards), custom color schemes (or {{L|tilesets|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.)''
  
  
Line 510: Line 510:
  
 
{{Skill Box|DGRAY|#888|#888|
 
{{Skill Box|DGRAY|#888|#888|
[[Metalsmith]]s
+
{{L|Metalsmith}}s
 
}}
 
}}
  
 
{{Skill Box|GREEN|#080|#080|
 
{{Skill Box|GREEN|#080|#080|
[[Ranger]]s
+
{{L|Ranger}}s
 
}}
 
}}
  
 
{{Skill Box|BLUE|rgb(00, 00, 80)|rgb(00, 00, 80)|
 
{{Skill Box|BLUE|rgb(00, 00, 80)|rgb(00, 00, 80)|
[[Fishery worker]]
+
{{L|Fishery Worker}}
 
}}
 
}}
  
 
{{Skill Box|LBLUE|#00f|#00f|
 
{{Skill Box|LBLUE|#00f|#00f|
[[Craftsdwarf]]s
+
{{L|Craftsdwarf}}s
 
}}
 
}}
  
 
{{Skill Box|BROWN|#880|#880|
 
{{Skill Box|BROWN|#880|#880|
[[Farmer]]s
+
{{L|Farmer}}s
 
}}
 
}}
  
 
{{Skill Box|MAGENTA|#808|#808|
 
{{Skill Box|MAGENTA|#808|#808|
[[Administrator]]s
+
{{L|Administrator}}s
 
}}
 
}}
  
 
{{Skill Box|RED|#800|#800|
 
{{Skill Box|RED|#800|#800|
[[Child]]ren
+
{{L|Child}}ren
 
}}
 
}}
  
Line 540: Line 540:
  
 
{{Skill Box|DGRAY|rgb(176, 176, 176)|rgb(176, 176, 176)|
 
{{Skill Box|DGRAY|rgb(176, 176, 176)|rgb(176, 176, 176)|
[[Metalsmith]]s
+
{{L|Metalsmith}}s
 
}}
 
}}
  
 
{{Skill Box|GREEN|rgb(32, 144, 32)|rgb(32, 144, 32)|
 
{{Skill Box|GREEN|rgb(32, 144, 32)|rgb(32, 144, 32)|
[[Ranger]]s
+
{{L|Ranger}}s
 
}}
 
}}
  
 
{{Skill Box|BLUE|rgb(44, 136, 222)|rgb(44, 136, 222)|
 
{{Skill Box|BLUE|rgb(44, 136, 222)|rgb(44, 136, 222)|
[[Fishery worker]]
+
{{L|Fishery Worker}}
 
}}
 
}}
  
 
{{Skill Box|LBLUE|rgb(144, 202, 255)|rgb(144, 202, 255)|
 
{{Skill Box|LBLUE|rgb(144, 202, 255)|rgb(144, 202, 255)|
[[Craftsdwarf]]s
+
{{L|Craftsdwarf}}s
 
}}
 
}}
  
 
{{Skill Box|BROWN|rgb(120, 94, 48)|rgb(120, 94, 48)|
 
{{Skill Box|BROWN|rgb(120, 94, 48)|rgb(120, 94, 48)|
[[Farmer]]s
+
{{L|Farmer}}s
 
}}
 
}}
  
 
{{Skill Box|MAGENTA|rgb(176, 56, 160)|rgb(176, 56, 160)|
 
{{Skill Box|MAGENTA|rgb(176, 56, 160)|rgb(176, 56, 160)|
[[Administrator]]s
+
{{L|Administrator}}s
 
}}
 
}}
  
 
{{Skill Box|RED|rgb(176, 8, 8)|rgb(176, 8, 8)|
 
{{Skill Box|RED|rgb(176, 8, 8)|rgb(176, 8, 8)|
[[Child]]ren
+
{{L|Child}}ren
 
}}
 
}}
 
|}
 
|}

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: