# Grain is gone!

**URL:** <https://forums.creativeclouddeveloper.com/t/grain-is-gone/7378>\
**Category:** UXP Plugin API\
**Tags:** uxp\
**Created:** [January 18, 2024, 11:41am UTC](https://forums.creativeclouddeveloper.com/t/grain-is-gone/7378 "2024-01-18T11:41:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinB](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/martinb/32/3506_2.png) [@MartinB](https://forums.creativeclouddeveloper.com/u/MartinB)\
**Post date:** [January 18, 2024, 11:41am UTC](https://forums.creativeclouddeveloper.com/t/grain-is-gone/7378/1 "2024-01-18T11:41:31Z")

</div>

Quick heads up. Many of you have, like me, tripped over the apparent typo in colour descriptors, using ‘grain’ instead of ‘green’.  
I’ve just noticed that’s been ‘fixed’ in the current beta (reported as “25.5 (20240113.m.2464 3301ee8)” in application.build via batchPlay).  
The desc does _NOT_ include both ‘green’ and ‘grain’ for compatibility, so code that just tries to read ‘grain’ will now fail.  
FWIW, this is my solution:

```auto
(desc.hasOwnProperty('green')) ? desc.green : desc.grain 

```

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [January 18, 2024, 1:37pm UTC](https://forums.creativeclouddeveloper.com/t/grain-is-gone/7378/2 "2024-01-18T13:37:57Z")

</div>

I just checked and I still have grain.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/d/de2cfab63b608f30cf7f0ccb07713f73ba16fa2a.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/2/27e67437b77f5f51ee14ba9b494d2b611268151d.png)

Could you be more specific about where you found it?

---

<div class="post-metadata">

**Author:** ![MartinB](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/martinb/32/3506_2.png) [@MartinB](https://forums.creativeclouddeveloper.com/u/MartinB)\
**Post date:** [January 18, 2024, 3:33pm UTC](https://forums.creativeclouddeveloper.com/t/grain-is-gone/7378/3 "2024-01-18T15:33:03Z")

</div>

In the response from the colour picker.
