code: public static String toHex(Color color) {
  		String R = Integer.toHexString(color.getRed());
  		R = R.length() < 2 ? ('0' + R) : R;
  		String G = Integer.toHexString(color.getGreen());
  		G = G.length() < 2 ? ('0' + G) : G;
  		String B = Integer.toHexString(color.getBlue());
  		B = B.length() < 2 ? ('0' + B) : B;
  		return '#' + R + G + B;
  	}
docs: Color对象转16进制表示，例如#fcf6d6
  
  @param color {@link Color}
  @return 16进制的颜色值，例如#fcf6d6
  @since 4.1.14