checkRgb255Color(TestColors.TEST_COLOR_RGB255_3);
}
private void checkRgb255Color(final ColorItem colorItem) {
final Color color = colorItem.get();
final RGB255Color wc = (RGB255Color) ResourceBuilders.COLOR_BUILDER.getParam(colorItem);
assertEquals(color.getRed(), convert255To1(wc.red()), 0.000001);
assertEquals(color.getGreen(), convert255To1(wc.green()), 0.000001);
assertEquals(color.getBlue(), convert255To1(wc.blue()), 0.000001);
assertEquals(color.getOpacity(), wc.opacity(), 0.1);
}