public Color GetMainColor(double d) { MainColor.ColorToHSV(out var h, out var s, out var v); v *= d; return(ImagingHelper.ColorFromHSV(h, s, v)); }
public SolidColorBrush GetMainColorBrush(double d) { MainColor.ColorToHSV(out var h, out var s, out var v); v *= d; return(new SolidColorBrush(ImagingHelper.ColorFromHSV(h, s, v))); }