Brush colors can be specified in hexadecimal notation with three, four, six, or eight digits, as shown on the MSDN page for SolidColorBrush :
<object property="#rgb"/> - or - <object property="#argb"/> - or - <object property="#rrggbb"/> - or - <object property="#aarrggbb"/>
#rgb expands to #rrggbb (as in the CSS hexadecimal notation), and #argb expands to #aarrggbb . Using three or six digits, alpha is always maximized. That is, they are all equivalent:
<SolidColorBrush x:Key="DisabledBorderBrush" Color="#AAA" /> <SolidColorBrush x:Key="DisabledBorderBrush" Color="#FAAA" /> <SolidColorBrush x:Key="DisabledBorderBrush" Color="#AAAAAA" /> <SolidColorBrush x:Key="DisabledBorderBrush" Color="#FFAAAAAA" />
source share