Overlay Map Visibility

Is it possible for the overlay to detect the pixels beneath it and the surounding one to raise the contrast and change the color to make it visible? I wouldn’t mind if i could just have an option where i can choose the outline color of the map in an options menu. It happens quite a bit that the map outline just blends so much with the background that it is no longer visible.