Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

addCustomBrandEssentialsColorBlockColor():AddCustomBrandEssentialsColorBlockColor
Beta

Adds a custom color to the end of a BrandEssentialsColorBlock. Requires basic:write scope to be accessible and Project permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of AddCustomBrandEssentialsColorBlockColorInput
blockId: ID!
Beta

The block to add the custom color to.

name: String!
Beta

The name of the custom color.

The color representations keyed by representation key. The HEX representation is derived from RGBA.

description: String = null
Beta

The description of the custom color.

Fields of AddCustomBrandEssentialsColorBlockColor
brandEssentialsColorBlock:BrandEssentialsColorBlock!
Beta

The brand essentials color block after adding the custom color.