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 "Colors.txt"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(add default)
m (adapt from init.txt description)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{quality|tattered|21:23, 25 August 2014 (UTC)}}
+
{{Quality|Fine}}
 
{{av}}
 
{{av}}
 
{{file|DF/data/init/colors.txt}}
 
{{file|DF/data/init/colors.txt}}
  
The '''colors.txt''' file defines the [[color scheme]] used by DF.
+
The '''colors.txt''' file defines the [[color scheme]] used by DF, in standard RGB color code.
 +
 
 +
The default settings can be found at <code>data/init/colors.txt</code> and the current settings at <code>prefs/colors.txt</code>, where the location of the <code>prefs</code> folder depends on the [[Settings#Portable_mode|portable mode setting]]. Changes made to these files take effect the next time ''Dwarf Fortress'' is run, and apply to all worlds. Files in both <code>data/init/</code> and <code>prefs/</code> are read when ''Dwarf Fortress'' starts, in that order, with the last value read for an option being used.
  
 
== Default colors.txt ==
 
== Default colors.txt ==
 
{{color scheme
 
{{color scheme
 
|black=#000000
 
|black=#000000
|dgray=#808080
+
|dgray=#a0a0a0
|blue=#000080
+
|blue=#207df1
|lblue=#0000ff
+
|lblue=#8c66ff
|green=#008000
+
|green=#a2dc34
|lgreen=#00ff00
+
|lgreen=#13fd65
|cyan=#008080
+
|cyan=#71bbb0
|lcyan=#00ffff
+
|lcyan=#12fecf
|red=#800000
+
|red=#ff113a
|lred=#ff0000
+
|lred=#ff7111
|magenta=#800080
+
|magenta=#a73cd5
|lmagenta=#ff00ff
+
|lmagenta=#e811ff
|brown=#808000
+
|brown=#d79b2d
|yellow=#ffff00
+
|yellow=#ffe111
 
|lgray=#c0c0c0
 
|lgray=#c0c0c0
 
|white=#ffffff
 
|white=#ffffff
Line 29: Line 31:
  
 
{{files}}
 
{{files}}
 +
[[ru:Colors.txt]]

Latest revision as of 21:37, 23 September 2025

This article is about the current version of DF.
Note that some content may still need to be updated.

File

Folder-orange.svg Dwarf Fortress

Folder.svg data

Folder.svg init

Text-x-generic.svg colors.txt

The colors.txt file defines the color scheme used by DF, in standard RGB color code.

The default settings can be found at data/init/colors.txt and the current settings at prefs/colors.txt, where the location of the prefs folder depends on the portable mode setting. Changes made to these files take effect the next time Dwarf Fortress is run, and apply to all worlds. Files in both data/init/ and prefs/ are read when Dwarf Fortress starts, in that order, with the last value read for an option being used.

Default colors.txt[edit]

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


See also[edit]

Settings
Gameplay settings
Log files
Other