Skip to content

Lighten or Darken a color with a ColorCorrectionFactor property.

Property

Name
ColorCorrectionFactor
xml
<SolidColorBrush dev:BrushAttach.ColorCorrectionFactor="-0.4" Color="{ThemeResource SystemAccentColor}" />

<!-- OR -->

<SolidColorBrush dev:BrushExtensions.ColorCorrectionFactor="1.2" Color="{ThemeResource SystemAccentColor}" />

Demo

you can run demo and see this feature.

Released under the MIT License.