private Color modify(Color color, double dS, double dB) {
private static Color modify(Color color, double dS, double dB) {
    private Color modify(Color color, double dS, double dB) {        float[] hsb = Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null);        //        //decreasing brightness and saturation gives a "shadowier", "blacker" look        //0.0 brightness gives black        //0.0 saturation gives grayscale        float s = (float) Math.max(0.0, Math.min(1.0, hsb[1] + dS));        float b = (float) Math.max(0.0, Math.min(1.0, hsb[2] + dB));        int code = Color.HSBtoRGB(hsb[0], s, b);        return new Color(code);    }