How to add color picker

Hi,

I’ve entered in the four numbers for color and alpha. How do you get Codea to treat these numbers as a color so it will bring up the color picker when the numbers are touched?

Thanks,
Mike

@mikeyleo

Enter color() in your code.

Tap inside the () and the color picker will show. You don’t have to enter number for it to show but it will if there are numbers there also.

Thanks!

I had a set of parentheses around the color function and the editor wasn’t picking up that up.