RGB LED cubes. Just ask me!

Hey, need a help regarding 8x8x8 LED cube.

I was learning to make led cubes, and use this as a reference:youtube tutorial for 8x8x8 cube

But I accidently made a common anode base rather than a common cathode base. So can I fix this with some code or I have to redo the whole cube ?