g2d.fillRect(10, 30, 40, 40);
//Just convert RGB to CMYK and use that
float[] compsRGB = colRGB.getColorComponents(null);
DeviceCMYKColorSpace cmykCS = ColorSpaces.getDeviceCMYKColorSpace();
float[] compsCMYK = cmykCS.fromRGB(compsRGB);
Color colCMYK = DeviceCMYKColorSpace.createCMYKColor(compsCMYK);
g2d.setColor(colCMYK);
g2d.fillRect(60, 30, 40, 40);
//Try CIELab (not implemented, yet)