To allow the filter to work in the way it does, we had to invent something specific for the case, allowing customers to change the colours in the selected products. We divided each product image into layers to which later we could apply any given colour from the supported palette.
With a bit of precision features offered by CSS, we overlaid these layers and here we go – ready to present the live shirt.
The colour palette is fully administrable and allows the introduction of new colours in the future. The colour combinations are passed along with each order and also are presented in the URL in case you might want to share the page with a friend.