Method LighterOrDarker
LighterOrDarker(float)
Adjusts the brightness of the color by a specified percentage.
public Color LighterOrDarker(float percOfLight)
Parameters
percOfLightfloatA percentage value indicating the amount of brightness adjustment. Positive values make the color lighter, while negative values make it darker.