Skip to main content

@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