API Reference@grafana/data › getColorDefinition

getColorDefinition variable

getColorDefinition variable

Signature

getColorDefinition: (hex: string, theme: GrafanaThemeType) => ColorDefinition | undefined

Import

import { getColorDefinition } from '@grafana/data';