原文链接:http://blog.csdn.net/u014117094/article/details/48135045
BrushConverter brushConverter = new BrushConverter();
PopupBorder.Background = (Brush)brushConverter.ConvertFromString("#121212");
MessageLabel.Foreground = (Brush)brushConverter.ConvertFromString("#7d7d7d");