code: static int argb( double color ) {
          long value = Double.doubleToRawLongBits( color );
          int result = colorDigit( ((value >>> 48)) / 256.0 ) << 24;
          result |= colorDigit( ((value >> 32) & 0xFFFF) / 256.0 ) << 16; 
          result |= colorDigit( ((value >> 16) & 0xFFFF) / 256.0 ) << 8; 
          result |= colorDigit( ((value) & 0xFFFF) / 256.0 ); 
          return result;
      }
docs: Convert an color value as long into integer color value
  
  @param color
  color value as long
  @return color value as int