code: public static String toRGB(Color color) {
  		if(color != null) {
  			return "rgb(" + Integer.toString(color.getRed()) + "," + Integer.toString(color.getGreen()) + "," + Integer.toString(color.getBlue()) + ")"; 
  		}
  		return null;
  	}
docs: Returns the input color as an RGB tuple (e.g. "rgb(AB,CD,EF)").
  
  @param color
  the color to represent as an RGB tuple.
  @return
  a string representing the RGB tuple of integer values.