Increase white ignore threshold

This commit is contained in:
jeffvli 2023-01-06 10:29:49 -08:00
parent 11f9721abe
commit 63cdefcb27

View file

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