setRestrictToAvailableColors

fun setRestrictToAvailableColors(restrictToAvailableColors: Boolean)

Restricts the user to availableColors when true, hiding the custom color entry, the recently used colors, and the generated color variations — every route to a color outside that list. Defaults to false.