Paint the three sides of a triangle with side lengths 3cm, 4cm, and 6cm respectively red, black, and green, and make the colors of each side different. How many different ways of painting are there?
将边长分别为3cm、4cm、6cm的三角形的三边分别涂上红色、黑色、绿色，且使每条边的颜色各不相同，共有多少种不同的涂色方式．
<gadget id="calculator">3 * 2 * 1</gadget>
<output>6</output>

<result>6</result>