---
title: "Type Alias MetabaseColorKey"
url: "https://www.metabase.com/docs/latest/embedding/sdk/api/MetabaseColorKey"
version: "65"
---

> For the complete documentation index, see [llms.txt](https://www.metabase.com/docs/llms.txt).

# Type Alias MetabaseColorKey

```ts
type MetabaseColorKey =
  |
  | "accent-gray"
  | "accent-gray-dark"
  | "accent-gray-light"
  | "accent0"
  | "accent0-dark"
  | "accent0-light"
  | "accent1"
  | "accent1-dark"
  | "accent1-light"
  | "accent2"
  | "accent2-dark"
  | "accent2-light"
  | "accent3"
  | "accent3-dark"
  | "accent3-light"
  | "accent4"
  | "accent4-dark"
  | "accent4-light"
  | "accent5"
  | "accent5-dark"
  | "accent5-light"
  | "accent6"
  | "accent6-dark"
  | "accent6-light"
  | "accent7"
  | "accent7-dark"
  | "accent7-light"
  | ProtectedColorKey
  | "background-brand"
  | "background-filter"
  | "background-disabled"
  | "background-disabled-inverse"
  | "background-error"
  | "background-error-secondary"
  | "background-highlight"
  | "background-hover"
  | "background-info"
  | "background-primary"
  | "background-primary-inverse"
  | "background-secondary"
  | "background-secondary-inverse"
  | "background-selected"
  | "background-success"
  | "background-success-secondary"
  | "background-tertiary"
  | "background-tertiary-inverse"
  | "background-warning"
  | "background-warning-secondary"
  | "border"
  | "border-strong"
  | "border-stronger"
  | "border-subtle"
  | "brand"
  | "brand-hover"
  | "danger"
  | "error"
  | "filter"
  | "focus"
  | "gold"
  | "icon-brand"
  | "icon-brand-inverse"
  | "icon-disabled"
  | "icon-disabled-inverse"
  | "icon-primary"
  | "icon-primary-inverse"
  | "icon-secondary"
  | "icon-secondary-inverse"
  | "illustration-brand-secondary"
  | "illustration-brand-tertiary"
  | "info"
  | "overlay"
  | "saturated-blue"
  | "saturated-green"
  | "saturated-purple"
  | "saturated-red"
  | "saturated-yellow"
  | "shadow"
  | "success"
  | "success-secondary"
  | "summarize"
  | "syntax-parameters"
  | "syntax-parameters-active"
  | "text-hover"
  | "text-secondary-opaque"
  | "text-tertiary"
  | "text-tertiary-inverse"
  | "warning"
  | "white"
  | "background_page-filter"
  | "background_page-highlighted"
  | "background_page-primary"
  | "background_page-primary-inverse"
  | "background_page-secondary"
  | "background_page-secondary-inverse"
  | "background_page-tertiary"
  | "background_page-tertiary-inverse"
  | "background_surface-brand-strong"
  | "background_surface-brand-strong-hover"
  | "background_surface-brand-strong-pressed"
  | "background_surface-brand-subtle"
  | "background_surface-brand-subtle-hover"
  | "background_surface-brand-subtle-pressed"
  | "background_surface-disabled"
  | "background_surface-disabled-inverse"
  | "background_surface-error"
  | "background_surface-error-subtle"
  | "background_surface-hover"
  | "background_surface-primary"
  | "background_surface-primary-hover"
  | "background_surface-primary-inverse"
  | "background_surface-primary-inverse-hover"
  | "background_surface-primary-inverse-pressed"
  | "background_surface-primary-pressed"
  | "background_surface-secondary"
  | "background_surface-secondary-hover"
  | "background_surface-secondary-inverse"
  | "background_surface-secondary-inverse-hover"
  | "background_surface-secondary-inverse-pressed"
  | "background_surface-secondary-pressed"
  | "background_surface-selected"
  | "background_surface-success"
  | "background_surface-warning"
  | "background_surface-warning-strong"
  | "border-brand"
  | "border-filter"
  | "border-highlight"
  | "border-neutral"
  | "border-neutral-inverse-strong"
  | "border-neutral-strong"
  | "border-neutral-strongest"
  | "border-neutral-subtle"
  | "border-on_dark"
  | "button-default-neutral-default"
  | "button-default-neutral-hover"
  | "button-default-neutral-pressed"
  | "button-filled-brand-default"
  | "button-filled-brand-hover"
  | "button-filled-brand-pressed"
  | "button-filled-filter-default"
  | "button-filled-filter-hover"
  | "button-filled-filter-pressed"
  | "button-filled-negative-default"
  | "button-filled-negative-hover"
  | "button-filled-negative-pressed"
  | "button-filled-positive-default"
  | "button-filled-positive-hover"
  | "button-filled-positive-pressed"
  | "button-filled-warning-default"
  | "button-filled-warning-hover"
  | "button-filled-warning-pressed"
  | "button-light-brand-default"
  | "button-light-brand-hover"
  | "button-light-brand-pressed"
  | "button-light-filter-default"
  | "button-light-filter-hover"
  | "button-light-filter-pressed"
  | "button-light-negative-default"
  | "button-light-negative-hover"
  | "button-light-negative-pressed"
  | "button-light-neutral-default"
  | "button-light-neutral-hover"
  | "button-light-neutral-pressed"
  | "button-light-positive-default"
  | "button-light-positive-hover"
  | "button-light-positive-pressed"
  | "button-on_dark-disabled"
  | "button-on_dark-primary-default"
  | "button-on_dark-primary-hover"
  | "button-on_dark-primary-pressed"
  | "button-on_dark-secondary-default"
  | "button-on_dark-secondary-hover"
  | "button-on_dark-secondary-pressed"
  | "button-subtle-brand-default"
  | "button-subtle-brand-hover"
  | "button-subtle-brand-pressed"
  | "button-subtle-negative-default"
  | "button-subtle-negative-hover"
  | "button-subtle-negative-pressed"
  | "button-subtle-neutral-default"
  | "button-subtle-neutral-hover"
  | "button-subtle-neutral-pressed"
  | "button-subtle-positive-default"
  | "button-subtle-positive-hover"
  | "button-subtle-positive-pressed"
  | "button_label-default-neutral-default"
  | "button_label-filled-brand-default"
  | "button_label-filled-filter-default"
  | "button_label-filled-negative-default"
  | "button_label-filled-positive-default"
  | "button_label-filled-warning-default"
  | "button_label-light-brand-default"
  | "button_label-light-brand-hover"
  | "button_label-light-filter-default"
  | "button_label-light-filter-hover"
  | "button_label-light-negative-default"
  | "button_label-light-negative-hover"
  | "button_label-light-neutral-default"
  | "button_label-light-positive-default"
  | "button_label-light-positive-hover"
  | "button_label-on_dark-disabled"
  | "button_label-on_dark-primary"
  | "button_label-on_dark-secondary"
  | "button_label-subtle-brand-default"
  | "button_label-subtle-brand-hover"
  | "button_label-subtle-negative-default"
  | "button_label-subtle-negative-hover"
  | "button_label-subtle-neutral-default"
  | "button_label-subtle-positive-default"
  | "button_label-subtle-positive-hover"
  | "core-blue-saturated"
  | "core-brand"
  | "core-brand-hover"
  | "core-filter"
  | "core-filter-strong"
  | "core-gold"
  | "core-green-saturated"
  | "core-info"
  | "core-purple-saturated"
  | "core-red-saturated"
  | "core-summarize"
  | "core-white"
  | "core-white_constant"
  | "core-yellow-saturated"
  | "feedback-negative"
  | "feedback-negative-strong"
  | "feedback-neutral-strong"
  | "feedback-positive"
  | "feedback-positive-selected"
  | "feedback-positive-strong"
  | "feedback-warning"
  | "feedback-warning-strong"
  | "illustration-secondary-brand"
  | "illustration-tertiary-brand"
  | "input-background"
  | "input-focus"
  | "modal-overlay"
  | "segmented_control-hover"
  | "segmented_control-pressed"
  | "segmented_control-selected"
  | "shadow-default"
  | "switch-checked"
  | "switch-disabled"
  | "switch-unchecked"
  | "switch_thumb-disabled"
  | "text-brand"
  | "text-brand-hover"
  | "text-brand-strong"
  | "text-brand-strong-hover"
  | "text-disabled"
  | "text-disabled-inverse"
  | "text-filter"
  | "text-primary"
  | "text-primary-inverse"
  | "text-secondary"
  | "text-secondary-inverse"
  | "text-selected"
  | "text-syntax-parameter"
  | "text-syntax-parameter-active"
  | "tooltip-background"
  | "tooltip-background-focused"
  | "tooltip-text"
  | "tooltip-text-secondary";
```

All color keys available in Metabase themes.

Both the light and dark theme must define all of these colors.

Token names follow `[category]-[property]-[variant?]-[state?]`. Parts are
joined with `-`; when a single part is two words we join those words
with `_` so it reads as one unit. E.g. background_surface-brand-strong`is category`background_surface`, property `brand`, variant `strong`.
