Goes in coding help
but anyway, if you mean the treebrick, then you would loop through all the bricks in the server and compare their datablocks, and if the're the same then change the color.
If you mean trees made of many bricks, well that's an entirely different task...