public Hue GetAccent(Theme theme)
{
var colour = theme.GetAccentColor();
var swatch = Swatches.Lookup(colour);
return swatch.Convert(s=> new Hue(s.Name, s.AccentExemplarHue.Name, s.AccentExemplarHue.Foreground, s.AccentExemplarHue.Color))
.ValueOrThrow(()=> new ArgumentOutOfRangeException(colour));
}