I put an orange light in my bathroom so that night-time visits won't affect my sleep more than necessary, and notice that the cap on my antifungal powder bottle, which I know to be orange, reflects that light as a similar color to the bathtub, which I know to be white. If I put the bottle on the tub, I can flip-flop between deciding that the bottle-cap is white, and that the tub is orange. When doing so, my perception of the colors change. The orangeness appears to fade in and out.
Not so with this picture. I can't push my brain to accept any other conclusion than the slider is changing the color of the illumination from blue to yellow, and the dress color is constant.
Now I see blue and black if I view the whole image or bottom 2/3rds of the image, and white and gold when viewing the top 1/3rd of the image.