public void CopyTo(IPalette palette) { foreach (var color in this.Colors) { palette.AddColor(color); } }