DNB,
Just use a SolidColorBrush, like so:
// Create the color first.
System.Windows.Media.Color color = System.Windows.Media.Color.FromRgb((byte)
0xE7, (byte) 0xEB, (byte) 0xF7);
// Create the brush.
System.Windows.Media.SolidColorBrush brush = new
System.Windows.Media.SolidColorBrush(color);
// Set the background.
b.Background = brush;

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>I would like to add this color #E7EBF7 to my WPF data grid
>
[quoted text clipped - 9 lines]
>
> DNB
DNB - 29 Feb 2008 15:23 GMT
Thanks
DNB
> DNB,
>
[quoted text clipped - 24 lines]
>>
>> DNB