Well what do you know...figured it out (kinda). Try using this.
Say your using a castle that has a gate. You load it up as a .x Object. Then you load up your character...I used the samari that came with DarkBASIC so I knew it had limbs.
You Loaded the castle up as Object 11 using the command...
Load Object "Filename",11
To turn on Perfect Collision for the castle you type this right after it and not in the Do/Loop command...
Set Object Collision On 11
Set Object Collision to Polygons 11
Then you load your Player object as 1
Load Object "Filename",1
Then If your character has animation and limbs...blah blah blah...you turn on its collision like so...
Set Object Collision 1
Set Object Collision to Boxes 1
once that is in there you should have your Collision Detection set and are ready for the If Object Collision(1,11). So your Code " should" look something like this...
Blah
Blah
Blah
Load Object "Building Filename",11
Position Object 11,X,Y,Z
Scale Object 11,X,Y,Z
Load Object "Character Filename",1
Position Object 1,X,Y,Z
Scale Object 1,X,Y,Z
Set Object Collision On 11
Set Object Collision to Polygons 11
Set Object Collision On 1
Set Object Collision to Boxes 1
Do
Blah
Blah
Blah
If Object Collision(1,11) > 0 then ....
Blah
Blah
Blah
Loop
Well...I still don't know about the color thing. If this doesn't work for you I'll try to help some more. Hope it wasn't to completed for ya.