i wrote a little code to create a plane and i tried to change the color but i couldnt figure out how to.
The way i think changing color would be to assign a material first. I looked around in the tutorials to find how to change it but i wasnt able to. But once i find it i bet there is a color option in the material to change its color. Probably simply called color
int $planeLength = 5;
int $planeWidth = 5;
plane -length $planeLength -width $planeWidth;