public int GetColor(KnownColor knownColor) { if (!KnownColors.Contains(knownColor)) { throw new ArgumentException(); } return(_colorTable[(int)knownColor]); }