layer.getColor: use map.getOption as fallback