Skip to main content

@microsoft/fast-colors > isColorStringHexRGBA

isColorStringHexRGBA() function

Test if a color matches #RRGGBBAA or #RGBA

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

Parameters

ParameterTypeDescription
rawstring
Returns:

boolean