I have the same problem with your code, I get the wrong colors with all versions, 7.86, 8.03 and 8.10.