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.

colors.txt

From Dwarf Fortress Wiki
Revision as of 00:39, 3 October 2025 by Ziusudra (talk | contribs) (clarified that prefs/colors.txt must be created manually)
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.

File

Folder.svg prefs

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 and can be changed by manually placing your own file at prefs/colors.txtv52.02; the location of the prefs folder depends on the portable mode setting (there is also a data folder there, but data/init/colors.txt will always be in the game installation folder). 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

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


See also

Settings
Gameplay settings
Log files
Other