getTagColor() function

getTagColor() function

Signature

  1. export declare function getTagColor(index: number): {
  2. color: string;
  3. borderColor: string;
  4. };

Import

  1. import { getTagColor } from '@grafana/ui';

Parameters

ParameterTypeDescription
indexnumber

Returns:

{ color: string; borderColor: string; }