API Reference@grafana/dataasRgbString

colorManipulator.asRgbString() function

colorManipulator.asRgbString() function

Converts a color to rgb string

Signature

export declare function asRgbString(color: string): string;

Import

import { colorManipulator } from '@grafana/data';
const { asRgbString } = colorManipulator;

Parameters

ParameterTypeDescription
colorstring

Returns:

string