Each vertex of a convex hexagon is to be assigned one of 6 available colors. The colors of all pairs of adjacent vertices as well as the vertices at the ends of each main diagonal (connecting opposite vertices) must be different. How many different ways can this hexagon be colored?