Hi Michael,
You can do this with the self illumination feature in a custom material if the colors material matches the background color and the skylight is off.
If you need the transparency as well, you could use a flat color display mode for selection masks to isolate just the shadows. You can find that mode here… Surface/mat/render ID Display Mode or renderer in rhino6?