code: public final void setPreviewSize(final int previewSize) {
          Condition.INSTANCE.ensureAtLeast(previewSize, 1, "The preview size must be at least 1");
          this.previewSize = previewSize;
  
          if (previewLoader != null) {
              previewLoader.setSize(previewSize);
          }
      }
docs: Sets the size of the preview of the preference's color.
  
  @param previewSize
  The size, which should be set, as an {@link Integer} value in pixels. The size must
  be at least 1