private static Color[] toColorsForLineMarkers(Color[] baseColors) {
    Color[] colors = new Color[baseColors.length];
    for (int i = 0; i < colors.length; i++) {
      colors[i] = toLineMarkerColor(239, baseColors[i]);
    }
    return colors;
  }
private static Color[] toColorsForLineMarkers(Color[] baseColors)