Skip to main content
Version: 1.x

@microsoft/fast-components > Swatch > contrast

Swatch.contrast() method

Signature:
contrast(target: RelativeLuminance): number;

Parameters

ParameterTypeDescription
targetRelativeLuminance
Returns:

number