API Reference@grafana/data › getColorForTheme

getColorForTheme variable

getColorForTheme variable

Signature

getColorForTheme: (color: ColorDefinition, theme?: GrafanaThemeType | undefined) => string

Import

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