How many different ways can the faces of a tetrahedron be colored red, green, or blue? (The tetrahedron can be rotated.)