public static final Color blend (Color c1, Color c2)
    {
        return new Color((c1.getRed() + c2.getRed()) >> 1,
                         (c1.getGreen() + c2.getGreen()) >> 1,
                         (c1.getBlue() + c2.getBlue()) >> 1);
    }
public static final Color blend ( Color c1 , Color c2 ) { return new Color ( ( c1 . getRed ( ) + c2 . getRed ( ) ) > > 1 , ( c1 . getGreen ( ) + c2 . getGreen ( ) ) > > 1 , ( c1 . getBlue ( ) + c2 . getBlue ( ) ) > > 1 ) ; }
Blends the two supplied colors.

@return a color halfway between the two colors.