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);
}
private double convertHexToDouble(final String hexaSingleColor) {
final int i = Integer.parseInt(hexaSingleColor, 16);
return convert255To1(i);