Don't worry :) I worked it out
Let A = event that both end balls are the same colour
$$n(A) = \frac{10!}{4!4!2!} + \frac{10!}{6!2!2!} + \frac{10!}{6!4!} = 4620$$
$n(S) = \frac{12!}{6!4!2!} = 13860$
$P(A) = \frac{4620}{13860} = \frac{77}{281}$ = 0.2740213523