@devlander/colors
Version:
Color utility package used between packages
9 lines (8 loc) • 323 B
TypeScript
import { HexDecimalObject } from "./types/hex-decimal-object.interface";
/**
* Converts a HexDecimalObject to an RGB or RGBA string.
*
* @param {HexDecimalObject} color - The color object to convert.
* @returns {string} The RGB or RGBA string.
*/
export declare const toRgbString: (color: HexDecimalObject) => string;