private int getColor(EditText editText) {
        try {
            return Color.parseColor(editText.getText().toString());
        } catch (NumberFormatException ex) {
            Log.i(TAG, "Unable to parse Color: " + editText.getText());
            return Color.LTGRAY;
        }
    }
Opens Chrome Custom Tabs with a customized UI.
demos/src/main/java/org/chromium/customtabsdemos/CustomUIActivity.java