@fluentui/react
Version:
Reusable React components for building web experiences.
9 lines (8 loc) • 305 B
TypeScript
/**
* Get a CSS color string from some color components.
* If `a` is specified and not 100, returns an `rgba()` string.
* Otherwise returns `hex` prefixed with #.
*
* @internal
*/
export declare function _rgbaOrHexString(r: number, g: number, b: number, a: number | undefined, hex: string): string;