Method ChangeLightness
ChangeLightness(ref RGBValue, int)
Darkens or lightens a color, based on the specified percentage.
alphaValue
of 0 would be completely black, 200 completely white
an alphaValue
of 100 returns the same color.
public static void ChangeLightness(ref RGBValue rgb, int alphaValue)
Parameters
ChangeLightness(int)
Darkens or lightens a color, based on the specified percentage.
alphaValue
of 0 would be completely black, 200 completely white
an alphaValue
of 100 returns the same color.
public Color ChangeLightness(int alphaValue)
Parameters
alphaValue
intLightness value (0..200).