restrictToAvailableColors

Whether the user is restricted to the colors returned by the available-colors getter.

When true, the color picker offers only those colors — no custom color entry, no recently used colors, and no generated color variations. Use it to keep content-editing text colors within an approved palette. Defaults to false.

Return

true if only the available colors may be picked, false otherwise.