color swatch pdp, refactoring