/// <summary> /// Returns a new color with the given alpha. /// </summary> public Color ColorDarkWithAlpha(float alpha) { return(ColorDark.WithAlpha(alpha)); }
/// <summary> /// Returns a new color with the RGB values scaled so that the color has the given brightness. /// <para>If the color is too dark, a grey is returned with the right brighness. The alpha is left uncanged.</para> /// </summary> public Color ColorDarkWithBrightness(float brightness) { return(ColorDark.WithBrightness(brightness)); }