Skip to main content
Version: 1.x

@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