Skip to content

getColorDiffStatus

Function: getColorDiffStatus()

function getColorDiffStatus(d): string

Gets a string to describe the meaning of the color diff. Used in tests.

Delta EPerceptionReturns
<= 1.0Not perceptible by human eyes."Perfect"
1 - 2Perceptible through close observation."Close"
2 - 10Perceptible at a glance."Good"
11 - 49Colors are more similar than opposite"Similar"
50 - 100Colors are exact oppositeWrong

Parameters

d

number

Returns

string

Defined in

converter.ts:210