added a method to return a color for translucent views