How many ways are there to color the vertices of a triangle using the colors red, green, blue, or yellow such that no two vertices have the same color? Note that rotations and reflections are considered distinct.

Let's think step by step and output the final answer within \boxed{}.
user