public static Color GetGradientColor(Color baseColor, int depth)
{
if (!Configs.GradientView)
return baseColor;
int r = Math.Max(Math.Min(baseColor.R + depth, 255), 0);
int g = Math.Max(Math.Min(baseColor.G + depth, 255), 0);
int b = Math.Max(Math.Min(baseColor.B + depth, 255), 0);
return Color.FromArgb(r, g, b);
}