The four-color theorem is typically formulated for planar figures. It also applies to the surface of anything homeomorphic to a sphere, because a stereographic projection will preserve the four-color property. It does not apply to other shapes -- a simple torus may need seven colors. Adding holes lets you increase the number of required colors without bound.