RGB = red, GRAIN(?), blue

I implemented a color picker like described here.
I then call it like this:

const pickedColor = await showColorPicker();
console.log(pickedColor);

And this is the output:

Is this a typo or am I missing something? Shouldnt it be “green”, instead of “grain”?

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

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

Sorry for the oversight… Does google not scrape this forum? I searched there and came up with nothing… (Also, nothing related popped up in the “related topics” section, my bad!)