When lines (or letters) of different colors are projected or printed, the depths of the lines may appear to be different; lines of one color may “jump out” while lines of another color are recessed. This effect is called Chromostereopsis. This effect is strongest with red and blue, but it can also happen with other colors (for example, red and green).

https://www.blog.theteamw.com/2009/11/09/100-things-you-should-know-about-people-9-chromostereopsis-is-hard-on-the-eyes/