Increase white ignore threshold
This commit is contained in:
parent
11f9721abe
commit
63cdefcb27
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export const useFastAverageColor = (
|
|||
.getColorAsync(src, {
|
||||
algorithm: aglorithm || 'dominant',
|
||||
ignoredColor: [
|
||||
[255, 255, 255, 255, 40], // White
|
||||
[255, 255, 255, 255, 45], // White
|
||||
[0, 0, 0, 255, 20], // Black
|
||||
[0, 0, 0, 0, 20], // Transparent
|
||||
],
|
||||
|
|
Reference in a new issue