Gradient color related to an intersection

Hi, I am trying to get 2 different colors from an intersection as you can see in the pic. I want the surface above the plane to be from one color, and i want the same with the surface below the plane. Is it possible to get this two colors using the plane as a parameter to divide it?
Any help will be more than welcome. Thanks!!

you can use SurfaceSplit with the curves you get from Brep|Plane intersection of the surface and the plane you want to trim along, then apply a CustomPreview with different material/swatches to each half