Your code is working fine there was one issue of using clipboard,if user has some important information it will be overwritten with the hex code.To solve this,comment these following lines.
In Utils.java
public static void copyText(Context context, CharSequence text) {
final ClipboardManager clipboard = (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
final ClipData clip = ClipData.newPlainText(context.getString(R.string.app_name), text);
clipboard.setPrimaryClip(clip);
and
in LoneColorActivty.java
Utils.copyText(this, Utils.colorToHex(color));
and
Utils.copyText(this, e.toString());