setOnlySpectrumMode
Sets the color picker to only show the spectrum mode.
When this mode is enabled, the color picker will hide the swatch and opacity bar, presenting only the spectrum view for color selection. This simplifies the interface for users who only need to pick colors from the spectrum without fine-tuning opacity or using predefined swatches.