Joint session with Vercel: How to build intelligent storefronts (May 15th)

Sanity Plugin Color List Not Supported in V3 Studio Migration

2 repliesLast updated: Dec 1, 2025

Hi Team,While doing the Studio Migration from v2 to v3, we came across to a point where one of plugin is not supported by V3.

Plugin - https://www.sanity.io/plugins/sanity-plugin-color-list
This plugin has been used extensively in most of the schemas so can't afford to remove it.

Please suggest a recommended resolution which we can adopt.
AI Update

I understand you're facing a challenge migrating from Sanity Studio v2 to v3 with the sanity-plugin-color-list plugin that's extensively used in your schemas. This is a common issue during v3 migrations when community plugins haven't been updated.

The Situation

The sanity-plugin-color-list plugin you're using is a community plugin created by Kim Björkman that was built for Studio v2 and has not been updated for Studio v3 compatibility. As the plugin page indicates, it only works with the older, now-deprecated version of Sanity Studio (v2).

Your Migration Options

Since this plugin is extensively used in your schemas, here are your recommended paths forward:

Sanity maintains an official color input plugin called @sanity/color-input that fully supports Studio v3. While it has a different API than sanity-plugin-color-list, it provides similar functionality including predefined color swatches.

Installation:

npm install @sanity/color-input

Add to your sanity.config.ts:

import {defineConfig} from 'sanity'
import {colorInput} from '@sanity/color-input'

export default defineConfig({
  // ... other config
  plugins: [
    colorInput(),
    // ... other plugins
  ]
})

Schema definition: The official plugin uses type: "color" and provides a colorList option for predefined swatches:

{
  title: "Color",
  name: "myColor",
  type: "color",
  options: {
    colorList: [ // Predefined color swatches
      { title: "Red", value: "#f16d70" },
      { title: "Teal", value: "#88c6db" },
      { title: "Purple", value: "#aca0cc" }
    ]
  }
}

The official plugin returns a comprehensive color object with hex, hsl, hsv, and rgb values, giving you more flexibility in how you use colors on your frontend.

Option 2: Fork and Update the Community Plugin

If the official plugin doesn't meet your specific requirements, you could:

This gives you full control but requires ongoing maintenance on your end.

Option 3: Build a Custom Color Input Component

For Studio v3, you can create custom input components. If sanity-plugin-color-list had specific features you need, you could build a custom input that replicates that functionality while being v3-compatible. The Sanity documentation on custom inputs can guide you through this process.

Migration Strategy

Whichever option you choose, I'd recommend:

The official @sanity/color-input plugin is your best bet for long-term support and compatibility with future Sanity updates. While it requires schema refactoring, it's actively maintained by Sanity and designed specifically for Studio v3.

Show original thread
2 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions