public void Lighten(float percent) { luminance *= (1.0f + percent); if (luminance > 1.0f) { luminance = 1.0f; } ToRGB(); }