float[] colorValue = SVGUtilities.convertSVGNumberList(c.getColors());
if(colorValue == null){
return null; // no color value
}
// Convert values to RGB
float[] rgb = profileCS.intendedToRGB(colorValue);
return new Color(rgb[0], rgb[1], rgb[2], opacity);
}
/**
* Converts the given RGBColor and opacity to a Color object.