public static float[] fromRGB(ColorSpace colorSpace,int r,int g,int b){
  return colorSpace.fromRGB(new float[]{r / 255f,g / 255f,b / 255f});
}

public static float [ ] fromRGB ( ColorSpace colorSpace , int r , int g , int b ) { return colorSpace . fromRGB ( new float [ ] { r / 255f , g / 255f , b / 255f } ) ; }
returns the color components in the specified color space from rgb values .
