Skip to main content
Version: 1.x

@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