code: public static Palette createPalette(final Color color, final Color... colors) {
          Color[] cs = new Color[colors.length + 1];
          cs[0] = color;
          System.arraycopy(colors, 0, cs, 1, colors.length);
          return new FixedPalette(cs);
      }
docs: Create a palette which uses the provided colors.
  
  @param colors colors to use in the palette
  @return a palette to use in highlighting