forked from MaterialDesignInXAML/MaterialDesignInXamlToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHue.cs
More file actions
28 lines (22 loc) · 567 Bytes
/
Copy pathHue.cs
File metadata and controls
28 lines (22 loc) · 567 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Windows.Media;
namespace MaterialDesignColors
{
public class Hue
{
public Hue(string name, Color color, Color foreground)
{
if (name == null) throw new ArgumentNullException(nameof(name));
Name = name;
Color = color;
Foreground = foreground;
}
public string Name { get; }
public Color Color { get; }
public Color Foreground { get; }
public override string ToString()
{
return Name;
}
}
}