In your XAML, just install it like this:
<Button Name="button1" Background="#7EC143">Foo</Button>
If you are trying to do this from code, it looks like this:
button1.Background = new SolidColorBrush(Color.FromArgb(0xff, 0x7e, 0xc1, 0x43));
source share