From 3123e90d5a19c00e8f1c0a8b6398adf43b173eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Tue, 12 Jan 2021 09:57:50 +0000 Subject: [PATCH] Make the Similar colors detector more relax --- lib/tools/colorDiff.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/colorDiff.js b/lib/tools/colorDiff.js index e1a436e..cdc3dc7 100644 --- a/lib/tools/colorDiff.js +++ b/lib/tools/colorDiff.js @@ -5,7 +5,7 @@ var parse = require('parse-color'); var colorDiff = function() { - var COLOR_DIFF_THRESHOLD = 0.9; + var COLOR_DIFF_THRESHOLD = 0.7; this.compareAllColors = function(data) { debug('Starting to compare all colors...');