/// <summary> /// Returns a darker color of specified color. /// </summary> /// <param name="color">Original color to be changed.</param> /// <returns>Darker color.</returns> public static SolidColor Dark(SolidColor color) { return(SetBrightness(-0.3f, color)); }
/// <summary> /// Returns a lighter color of specified color. /// </summary> /// <param name="color">Original color to be changed.</param> /// <returns>Lighter color.</returns> public static SolidColor Light(SolidColor color) { return(SetBrightness(0.3f, color)); }