Material color based on visibility

Impossible with BP only but there may be a way with C++. You should ask around in the C++ section of the forum.