Thanks for answer. I think I found the problem:
I set the colors of the picture in python, there all Pixels have the correct color. But if I save  the picture as a jpg to download, the colors get wrong. Do you know how to fix this issue?