A layer can draw its choices' colours instead of images. Each choice fills the layer's mask with its Color hex code, the colour already shown as its swatch in the choices list.
This saves you an image per colour. A sofa offered in twenty fabric colours, or a car body in a dozen paints, needs one mask per view for the area, not twenty renders of it.
Colours are for 2D configurators. They have no effect on 3D products, whose materials have their own colour actions.
Set it up
- Give the layer a mask on every view where its colour should show. The mask is the shape the colour fills.
- In the same Mask section, tick Draw the choice colour in the viewer.
- Open each choice of the layer and enter its colour in Color hex code, such as
#1e90ff. - Leave the choice without an image on the views where it should draw its colour.
- Save.
While the setting is on, the Mask section names every view that has no mask: colours are not drawn there.
Screenshot needed: the Mask section of a layer with "Draw the choice colour in the viewer" ticked, a mask on the Front view and the "No mask on this view" notice on the Back view.
Which choices draw a colour
On each view, a choice of the layer draws its colour when:
- it has no image on that view. A choice with an image shows its image, which is how one layer mixes plain colours with patterned fabrics: give the patterned ones images, and the plain ones only a colour.
- the layer has a mask on that view. The colour takes the mask's shape and size. A view without a mask draws nothing for the colour choices.
- its colour is a hex code:
#rrggbb, or the short#rgb. The swatch in the choices list accepts any CSS colour, but only hex codes are drawn in the preview. The choice form warns you when a colour cannot be drawn.
Screenshot needed: a choice form with "Color hex code" set to
red, showing the warning under the field.
Add shading
A flat colour looks like a sticker on a 3D-looking product: it has no folds, light or shadow. Put the shading on a layer of its own, above the colour layer:
- Render or export the area's shadows and highlights as a PNG with transparency, at the size of your product images. Dark, semi-transparent pixels darken the colour beneath; light ones brighten it.
- Add it as a static layer right above the colour layer in the image order.
The same shading then works for every colour of the layer.
Where colours apply
Everywhere the layer is drawn:
- the configurator preview, whichever 2D viewer you use;
- the image in the cart, the order and quote requests;
- the picture in the Save your design PDF;
- the preview on the Image order screen.
An order keeps the colour it was placed with: changing a choice's hex code later does not change the images of past orders.
Good to know
- Several colours on one area. On a multiple choice layer, each selected colour fills the same mask, and the last one covers the others. Use a simple layer for an area that takes one colour.
- A mask that cannot be loaded shows the colour over the whole mask's area, uncut, as it shows a masked image whole.
- Turning the setting on for a layer with existing orders. A choice that was ordered without an image before the setting was on shows its colour if that order's image is generated again.
- A colour picker for customers, to choose any colour rather than one from your list, is not available yet.