Added missing rotations and refactored Color class