API Reference@grafana/data › getColorFromHexRgbOrName

getColorFromHexRgbOrName variable

getColorFromHexRgbOrName variable

Signature

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

Import

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