Skip to content
KeystoneJS LogoKeystoneJS
👋🏻 We're working on the next generation of KeystoneJS! If you're using the @keystone-next packages, click here to learn more


This is the last active development release of this package as Keystone 5 is now in a 6 to 12 month active maintenance phase. For more information please read our Keystone 5 and beyond post.

Stores hexadecimal RGBA (Red, Green, Blue, Alpha) color values. Presented in the Admin UI as an interactive color picker.


const { Color } = require('@keystonejs/fields-color');

keystone.createList('Product', {
  fields: {
    heroColor: { type: Color },


isRequiredBooleanfalseDoes this field require a value?
isUniqueBooleanfalseAdds a unique index that allows only unique values to be stored

On this page

  • Usage
  • Config
Edit on GitHub