int g = Math.max(0, Math.min(255, (int) (((255 - getG()) * percent) + getG() + 0.5)));
int b = Math.max(0, Math.min(255, (int) (((255 - getB()) * percent) + getB() + 0.5)));
return new Color(r, g, b, getA());
}
return new Color(getR(), getG(), getB(), getA());
<BUG>}
public static final String getHEXColorKey()</BUG>
{
s_r++;
if (s_r == 256)

int g = Math.max(0, Math.min(255, (int) (((255 - getG()) * percent) + getG() + 0.5)));
int b = Math.max(0, Math.min(255, (int) (((255 - getB()) * percent) + getB() + 0.5)));
return new Color(r, g, b, getA());
}
return new Color(getR(), getG(), getB(), getA());
}
@Deprecated
public static final String getHEXColorKey()
{
s_r++;
if (s_r == 256)
