diff --git a/src/Avalonia.Controls.ColorPicker/ColorPalettes/SixteenColorPalette.cs b/src/Avalonia.Controls.ColorPicker/ColorPalettes/SixteenColorPalette.cs
index c7431c166f..e8e82eac91 100644
--- a/src/Avalonia.Controls.ColorPicker/ColorPalettes/SixteenColorPalette.cs
+++ b/src/Avalonia.Controls.ColorPicker/ColorPalettes/SixteenColorPalette.cs
@@ -50,28 +50,6 @@ namespace Avalonia.Controls
}
};
- ///
- /// Gets the index of the default shade of colors in this palette.
- ///
- public const int DefaultShadeIndex = 0;
-
- private const int WhiteIndex = 0;
- private const int SilverIndex = 1;
- private const int GrayIndex = 2;
- private const int BlackIndex = 3;
- private const int RedIndex = 4;
- private const int MaroonIndex = 5;
- private const int YellowIndex = 6;
- private const int OliveIndex = 7;
- private const int LimeIndex = 8;
- private const int GreenIndex = 9;
- private const int AquaIndex = 10;
- private const int TealIndex = 11;
- private const int BlueIndex = 12;
- private const int NavyIndex = 13;
- private const int FuchsiaIndex = 14;
- private const int PurpleIndex = 15;
-
///
public int ColorCount
{
@@ -84,134 +62,6 @@ namespace Avalonia.Controls
get => colorChart.GetLength(1);
}
- ///
- /// Gets the palette defined color that has an ARGB value of #FFFFFFFF.
- ///
- public static Color White
- {
- get => colorChart[WhiteIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FFC0C0C0.
- ///
- public static Color Silver
- {
- get => colorChart[SilverIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF808080.
- ///
- public static Color Gray
- {
- get => colorChart[GrayIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF000000.
- ///
- public static Color Black
- {
- get => colorChart[BlackIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FFFF0000.
- ///
- public static Color Red
- {
- get => colorChart[RedIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF800000.
- ///
- public static Color Maroon
- {
- get => colorChart[MaroonIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FFFFFF00.
- ///
- public static Color Yellow
- {
- get => colorChart[YellowIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF808000.
- ///
- public static Color Olive
- {
- get => colorChart[OliveIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF00FF00.
- ///
- public static Color Lime
- {
- get => colorChart[LimeIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF008000.
- ///
- public static Color Green
- {
- get => colorChart[GreenIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF00FFFF.
- ///
- public static Color Aqua
- {
- get => colorChart[AquaIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF008080.
- ///
- public static Color Teal
- {
- get => colorChart[TealIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF0000FF.
- ///
- public static Color Blue
- {
- get => colorChart[BlueIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF000080.
- ///
- public static Color Navy
- {
- get => colorChart[NavyIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FFFF00FF.
- ///
- public static Color Fuchsia
- {
- get => colorChart[FuchsiaIndex, DefaultShadeIndex];
- }
-
- ///
- /// Gets the palette defined color that has an ARGB value of #FF800080.
- ///
- public static Color Purple
- {
- get => colorChart[PurpleIndex, DefaultShadeIndex];
- }
-
///
public Color GetColor(int colorIndex, int shadeIndex)
{