RGB = red, GRAIN(?), blue

It’s a typo, there are many posts about the same topic if you search the forum:

https://forums.creativeclouddeveloper.com/t/color-picker-return-error-rgbfloatcolor-uses-grain-label-instead-of-green/4853/3