API Reference@grafana/data › getColorDefinitionByName

getColorDefinitionByName() function

getColorDefinitionByName() function

Signature

export declare function getColorDefinitionByName(name: Color): ColorDefinition;

Import

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

Parameters

Parameter Type Description
name Color

Returns:

ColorDefinition