Invalid color_palette setting type

I’m unable to use the new "type": "color_palette" setting (Input settings). Shopify CLI returns an invalid setting type error.

Am I missing something, or is there additional support required for this setting type?

The new color_palette setting started working with Shopify CLI 4.1.0. No additional actions were needed in the end.