How to set custom RGB pen colors in vexcode

Brain.Screen.setPenColor is super useful if you type in words like “red” or “blue”. I want to write a custom RGB color though. I was pasting code from the vexcode API and it kept giving me errors. I’m certain it’s simple, but how would I do it?

4 Likes