public void SetPaletteRepository(PaletteRepository paletteRepository) { this.paletteRepository = paletteRepository; }