# \[Solved\] Node status color grey shows as black with gray outline

**URL:** https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302
**Category:** Core Development
**Created:** [4 November 2020 00:20 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302 "2020-11-04T00:20:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [4 November 2020 00:20 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302/1 "2020-11-04T00:20:46Z")

</div>

I'm working on a PR to the 'Random' node and wanted to use node status to report some information. This is what I've got coded:  
`this.status({fill:"gray",shape:"dot",text:"random: from " + node.low + " to " + node.high});`  
but this is what shows up:  
 ![Screen Shot 2020-11-03 at 7.02.16 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/7/e71e1835ba47de421ac93c2691766b029fbbb410.png)  
The other colors ( `red` , `green` , `yellow` and `blue`) all show up solid (as is shown in the documentation [https://nodered.org/docs/creating-nodes/status](https://nodered.org/docs/creating-nodes/status)).

Anyone got any thoughts?

Platform: macOS 10.14.6  
Node-red: v1.1.3  
Node.js: v12.13.0

---

<div class="post-metadata">

### Author: ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)
#### Post date: [4 November 2020 05:55 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302/2 "2020-11-04T05:55:21Z")

</div>

I think the status colors are hard-coded. If the color is unknown, it renders as you described, I have stumbled upon that myself.

So in that case, it might be an issue that you used gr **a** y, where the doc says gr **e** y. 🧐

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [4 November 2020 10:34 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302/3 "2020-11-04T10:34:34Z")

</div>

Ahh the bloody spelling differences between U.S. english and the rest of the world! My fingers are programmed to use th 'a' instead of the 'e'.

That took care of it. Thanks!

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [4 November 2020 11:47 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302/4 "2020-11-04T11:47:05Z")

</div>

I think we should probably silently handle both spellings....

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [4 November 2020 12:05 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302/5 "2020-11-04T12:05:10Z")

</div>

I'd be willing to do do a PR if I knew where it's handled.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 November 2020 12:05 UTC](https://discourse.nodered.org/t/solved-node-status-color-grey-shows-as-black-with-gray-outline/35302/6 "2020-11-18T12:05:14Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
