Increase white ignore threshold

This commit is contained in:
jeffvli 2023-01-12 12:28:19 -08:00
parent 36c1f4e736
commit 6746903808

View file

@ -16,7 +16,7 @@ export const useFastAverageColor = (
.getColorAsync(src, {
algorithm: aglorithm || 'dominant',
ignoredColor: [
[255, 255, 255, 255, 45], // White
[255, 255, 255, 255, 55], // White
[0, 0, 0, 255, 20], // Black
[0, 0, 0, 0, 20], // Transparent
],