The main I want to color all edge off a complete graph where 1-color triangle (monochromatic that mean all edges of triangle has same color ) and $3$-color triangle ( mean all edges of triangle color by different colors). I suppose, having a blue triangle and I rotate a blue triangle $7$ times does not matter the direction of rotation either clockwise or not, so I get $(v_1,v_2,v_6)$ connect by a blue and $(v_2,v_3,v_7)$ by red , $(v_3,v_4,v_1)$ by green, $(v_5,v_4,v_2)$ by yellow, $(v_6,v_5,v_3)$ by orange , $(v_7,v_6,v_4)$ by black and $(v_1,v_7,v_5)$ by brown.
I am unable to write the method mathematically as function, series, or algorithm to generalize that for $n$ . Some help please or mention some link could lead me !