code: public static String getPreviewButtonColorScript(final String color) {
          return new StringBuilder().append(PREVIEW_BUTTON_COLOR_REMOVE_SCRIPT).append(PREVIEW_BUTTON_COLOR_CREATE_SCRIPT)
                  .append("var tagColorPreviewStyle = \".v-app .tag-color-preview{ height: 15px !important; padding: 0 10px !important; border: 0px !important; margin-left:12px !important;  margin-top: 4px !important; border-width: 0 !important; background: ")
                  .append(color)
                  .append(" } .v-app .tag-color-preview:after{ border-color: none !important; box-shadow:none !important;} \"; ")
                  .append(PREVIEW_BUTTON_COLOR_SET_STYLE_SCRIPT).toString();
      }
docs: Get javascript to reflect new color selection for preview button.
  
  @param color
  changed color
  @return javascript for the selected color.