UIImage helper to get dynamic background color