public static String colorToHex(int color){
  return String.format("#%06X",(0xFFFFFF & color));
}

public static String colorToHex ( int color ) { return String . format ( "#%06X" , ( 0xFFFFFF & color ) ) ; }
convert an argb color to its hexadecimal representation
