private Brush getBrush(string colour) { return new SolidColorBrush((Color)ColorConverter.ConvertFromString(colour)); }