# Colors

**URL:** <https://discourse.cataclysmdda.org/t/colors/8112>\
**Category:** The Toolbox\
**Created:** [November 28, 2014, 7:27pm UTC](https://discourse.cataclysmdda.org/t/colors/8112 "2014-11-28T19:27:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whaley](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/whaley/32/380_2.png) [@Whaley](https://discourse.cataclysmdda.org/u/Whaley)\
**Post date:** [November 28, 2014, 7:27pm UTC](https://discourse.cataclysmdda.org/t/colors/8112/1 "2014-11-28T19:27:05Z")

</div>

Can someone point me in the right direction of where the colors are defined? I found a json in raw called colors, but it doesn’t contain some of the building colors (Yellow with Magenta Background, Etc.)

Also, is it possible to add new colors?

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [November 28, 2014, 7:39pm UTC](https://discourse.cataclysmdda.org/t/colors/8112/2 "2014-11-28T19:39:47Z")

</div>

Colors are in color.cpp and color.h. As far as I know, they’re based on the default 16 ncurses colors, with a foreground and a background color from that list. Apparently ncurses actually offers extended support up to 256 colors, but as of yet, I haven’t found out how to actually use them.

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [November 28, 2014, 7:53pm UTC](https://discourse.cataclysmdda.org/t/colors/8112/3 "2014-11-28T19:53:27Z")

</div>

> [@vache](#):
>
> Colors are in color.cpp and color.h. As far as I know, they’re based on the default 16 ncurses colors, with a foreground and a background color from that list. Apparently ncurses actually offers extended support up to 256 colors, but as of yet, I haven’t found out how to actually use them.

If you are on windows I don’t think you can without downloading a new terminal program. The default windows terminal only supports the default 16 IIRC, (as opposed to other OS’s, many of which support all 256 if you want).

---

<div class="post-metadata">

**Author:** ![Whaley](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/whaley/32/380_2.png) [@Whaley](https://discourse.cataclysmdda.org/u/Whaley)\
**Post date:** [November 28, 2014, 8:41pm UTC](https://discourse.cataclysmdda.org/t/colors/8112/4 "2014-11-28T20:41:23Z")

</div>

> [@vache](#):
>
> Colors are in color.cpp and color.h.

Doh! I’ve been working on buildings and have been stuck in json-ville, I’ll go check those files out.
