I am looking for the name of a series of fantasy books that, I read in the early 2000s (not sure on their release date) about a male protagonist who goes to a special temple to learn red magic. Within the world of the book there is black, white and red magic, each with distinct characteristics.
At some point the protagonist has to memorize a mosaic in order to complete one part of his training. I remember the antagonist being a former friend of the main character and also having a snake-arm. Pieces of a special mirror are used to teleport through long distances.
Sorry for the vague details.