make a texture and texture the cube, like this:
`set up computer
sync on:sync rate 30
hide mouse
color backdrop rgb(0,0,0)
`make cube
make object cube 1,10
`make the texture
create bitmap 1,64,64
ink rgb(255,0,0),0
box 0,0,64,64
get image 1,0,0,64,64,0
delete bitmap 1
`texture the object
TEXTURE OBJECT 1,1
`main loop
do
`rotate cube
rotate object 1,Wrapvalue(object angle x(1)+2),Wrapvalue(object angle y(1)+2),Wrapvalue(object angle z(1)+2)
`sync and end loop
sync
loop
however, if you still want to use color object, then you need to make sure that you light it from all angles, or your color won't show properly.
Part of solving the problem is actually noticing that the problem is there in the first place