Hi Fabrice,

It seems to me the colors are the same, although they may appear different at first sight because the « with » of the lines are different (the width is larger in the lower rectangle).

I attach the PDF created with your code.

Best regards: Otared