# Default black hex code?

**URL:** <https://forum.inductiveautomation.com/t/default-black-hex-code/63158>\
**Category:** Ignition\
**Created:** [August 18, 2022, 2:08pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158 "2022-08-18T14:08:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [August 18, 2022, 2:08pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158/1 "2022-08-18T14:08:23Z")

</div>

Using 8.1.0

I set some text in a label to color #FFFFFF, now it doesn’t match the others though.

I delete color and it still looks darker. I changed it to #555555 and #2b2b2b.  
What is the default black color of text?  
I think the position might be one of those positions and colors that just looks odd no matter what I do.

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [August 18, 2022, 2:20pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158/2 "2022-08-18T14:20:41Z")

</div>

`#000000`, `#000`, `black` all work on v8.1.19 (my current testing env) and probably on 8.1.0.

(An interesting question, but a Google search will probably be quicker than waiting for some quack on the forums to reply)

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [August 18, 2022, 2:27pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158/3 "2022-08-18T14:27:50Z")

</div>

If you want true black, then as @YF129701 has said `#000000`.

If you mean, what is the color used by default with IA’s default theme? then that’s a different color.

That is `#323232` near as I can tell. Or `var(--neutral-90)`

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 18, 2022, 2:30pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158/4 "2022-08-18T14:30:30Z")

</div>

The default color is CSS variable and set by `var(--label)`. You can see this if you enable your browser’s Developer Tools and inspect a label. The actual color will depend on the selected CSS theme in use on your project.

You should be using themes and preset CSS variables rather than direct formatting. That way you can switch themes and everything will work.

[Perspective Built-In Themes - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Perspective+Built-In+Themes).

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [August 19, 2022, 1:16pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158/5 "2022-08-19T13:16:08Z")

</div>

Thanks #323232.

I appreciate it.  
I was able to verify with inspect, thanks for that too.

I trust people here more than most of the rest of the internet on a side note.  
I lost count how many times I went on a goose chase from another site, but found a solution or help here.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [August 19, 2022, 1:45pm UTC](https://forum.inductiveautomation.com/t/default-black-hex-code/63158/6 "2022-08-19T13:45:48Z")

</div>

> [@zacharyw.larson](#):
>
> Thanks #323232.

Keep in mind if you ever decide to use themes then having #323232 will not give you the desired result, you will want to use `var(--neutral-90)` as @lrose pointed out.
