diff --git a/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/ColorThief.java b/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/ColorThief.java index 366044d..e09c0d3 100644 --- a/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/ColorThief.java +++ b/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/ColorThief.java @@ -142,7 +142,7 @@ final class ColorThief { r = (rgb >> 16) & 0xFF; g = (rgb >> 8) & 0xFF; - b = (rgb) & 0xFF; + b = rgb & 0xFF; if (!(ignoreWhite && r > 250 && g > 250 && b > 250)) { res[numUsedPixels] = new int[] { r, g, b }; numUsedPixels++;