implements color swatch selection