private void checkWebColor(final ColorItem colorItem) {
final Color color = colorItem.get();
final WebColor wc = (WebColor) ResourceBuilders.COLOR_BUILDER.getParam(colorItem);
assertEquals(color.getRed(), convertHexToDouble(wc.hex().substring(0, 2)), 0.000001);
assertEquals(color.getGreen(), convertHexToDouble(wc.hex().substring(2, 4)), 0.000001);
assertEquals(color.getBlue(), convertHexToDouble(wc.hex().substring(4, 6)), 0.000001);
assertEquals(color.getOpacity(), wc.opacity(), 0.1);