Skip to main content
Version: 1.x

@microsoft/fast-colors > isColorStringHexRGB

isColorStringHexRGB() function

Test if a color matches #RRGGBB or #RGB

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

Parameters

ParameterTypeDescription
rawstring
Returns:

boolean