# Green - "grain" typo?

**URL:** <https://forums.creativeclouddeveloper.com/t/green-grain-typo/2370>\
**Category:** UXP Plugin API\
**Created:** [December 22, 2020, 7:42pm UTC](https://forums.creativeclouddeveloper.com/t/green-grain-typo/2370 "2020-12-22T19:42:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddbell](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/ddbell/32/1030_2.png) [@ddbell](https://forums.creativeclouddeveloper.com/u/ddbell)\
**Post date:** [December 22, 2020, 7:42pm UTC](https://forums.creativeclouddeveloper.com/t/green-grain-typo/2370/1 "2020-12-22T19:42:36Z")

</div>

Many things with RGB color in batchPlay descriptors have a typo with green being listed as “grain”. It still works and also works when changing the text to green.

It’s not a big deal because it works. However, I’m concerned that anything saved in the program with “grain” could possibly stop working if the typo was fixed in a later PS release.

Since changing the text to “green” seems to work, I’ve been changing mine to “green”. I’m not sure if this is best to do or not but it is what I have been doing anyway.

Here is an example of the descriptor for creating solid color layer. I’ve seen this typo in several other descriptors too.

Just FYI…

```
{
   "_obj": "make",
   "_target": [
      {
         "_ref": "contentLayer"
      }
   ],
   "using": {
      "_obj": "contentLayer",
      "type": {
         "_obj": "solidColorLayer",
         "color": {
            "_obj": "RGBColor",
            "red": 0,
            "grain": 0,
            "blue": 0
         }
      }
   },
   "_isCommand": true
}
```

---

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [December 22, 2020, 9:15pm UTC](https://forums.creativeclouddeveloper.com/t/green-grain-typo/2370/2 "2020-12-22T21:15:27Z")

</div>

Yellow is also different 🙂 Check [this post](http://forums.creativeclouddeveloper.com/t/how-to-get-set-and-unset-layer-color/2281/2) and then Simon’s response 😉

---

<div class="post-metadata">

**Author:** ![ddbell](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/ddbell/32/1030_2.png) [@ddbell](https://forums.creativeclouddeveloper.com/u/ddbell)\
**Post date:** [December 22, 2020, 9:21pm UTC](https://forums.creativeclouddeveloper.com/t/green-grain-typo/2370/3 "2020-12-22T21:21:07Z")

</div>

Good to know they both convert to "grn " so either will work the same. Pretty sure it was intended to be green, not grain. I’ve never heard of the Red, Grain, Blue color profile… or maybe I can just turn down the “grain” value for some type of noise reduction technique 🙂
