Here's a thought... What about a conditional statement about contour lines that cross rasters? Can I set up a rule to assign one color to a raster if it is crossed by a contour line of a certain value?
Example, if the raster is crossed by the 5m contour, it's red. If crossed by the 2.5, green.
Now, how might I go about doing this for hundreds of rasters at once?