double n1 = in.nextDouble();
double n2 = in.nextDouble();
double n3 = in.nextDouble();
//fails
ColorModel rgb = ColorTransformer.xyz2rgb(ColorTransformer.lab2xyz(new ColorModel(n1, n2, n3, ColorType.LAB)));
//ok
//ColorModel rgb = ColorTransformer.lab2xyz(new ColorModel(n1, n2, n3, ColorType.LAB));
//fails
//ColorModel rgb = ColorTransformer.rgb2xyz(new ColorModel(n1, n2, n3, ColorType.RGB));
System.out.println(rgb.getDimension_1());
System.out.println(rgb.getDimension_2());
System.out.println(rgb.getDimension_3());
System.out.println("end");
}
}