Skip to main content

@microsoft/fast-colors > isColorStringWebRGB

isColorStringWebRGB() function

Test if a color matches rgb(rr, gg, bb)

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

Parameters

ParameterTypeDescription
rawstring
Returns:

boolean