10. Now use red, blue, and yellow 3 colors to paint the 6 faces of a cube, so that the faces painted red, blue, and yellow each have 2. Find the number of differently styled colored cubes.

将上面的文本翻译成英文，请保留源文本的换行和格式，直接输出翻译结果。
10.6. 

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.