class ColorUtilities {

    public static Color lighten(Color color)
    {
        float[] hsb = new float[3];
        Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), hsb);
        hsb[1] = hsb[1] / 2;
        return new Color(Color.HSBtoRGB(hsb[0], hsb[1], hsb[2]));
    }

    private  ColorUtilities();

}