Skip to main content
Version: 1.x

@microsoft/fast-colors > isColorStringWebRGBA

isColorStringWebRGBA() function

Test if a color matches rgba(rr, gg, bb, aa)

Signature:
export declare function isColorStringWebRGBA(raw: string): boolean;

Parameters

ParameterTypeDescription
rawstring
Returns:

boolean