Yikes ... the only way I can think of is just brute force, where I have 11 major cases (from 10 to 0 black cards), and then subcases for each:
- $10$ black cards: $1$ option
- $9$ black cards: $5$ options (since $5$ colors) for $10$th card
- $8$ black cards: Two subcases here for the remaining two cards:
$8A$. Same color for $2$ remaining cards ($5$ options)
$8B$. Different colors for those $2$ cards (so pick $2$ out of $5$ colors: ${5 \choose 2}=10$.
So total of $15$ options with $8$ black cards
- $7$ black cards: For remaining $3$ cards, there are $3$ subclasses:
$7A$: all $3$ remaining cards are same color ($5$ options)
$7B$: $2$ out of remaining $3$ have same color, last one is different: $5*4=20$ options ($5$ options for the color of the $2$ cards, and $4$ choices for the last card)
$7C$: all $3$ remaining cards are different color: ${5 \choose 3}=10$ options
Total for case $7$: $35$ options
$6A$: $3$ same color, $1$ different: $20$ options
$6B$: $2$ same color + $2$ same color: $10$ options
$6C$: $2+1+1$: $5*{4 \choose 2}=5*6=30$ options
$6D$: $1+1+1+1$: ${5 \choose 4}=5$ options
Total of $65$ options for case $6$
$5A$: $3+2:20$
$5B$: $3+1+1:30$
$5C$: $2+2+1:30$
$5D$: $2+1+1+1:5*{4\choose3}=5*4=20$
$5E$: $1+1+1+1+1$: $1$ option
Total for $5$: $101$
etc ... ( I think you will now have seen how to handle the different cases)
EDIT
Alright .. I hate leaving answer incomplete ...
$4A$: $3+3:10$
$4B$: $3+2+1: 5*4*3=60$
$4C$: $3+1+1+1: 5*4=20$
$4D$: $2+2+2: 10$
$4E$: $2+2+1+1: 10*3=30$
$4F$: $2+1+1+1+1: 5$
Total: $135$
$3A$: $3+3+1: 10*3=30$
$3B$: $3+2+2: 5*6=30$
$3C$: $3+2+1+1: 5*4*3=60$
$3D$: $3+1+1+1+1: 5$
$3E$: $2+2+2+1: 10*2=20$
$3F$: $2+2+1+1+1:10$
Total: $155$
$2A$: $3+3+2: 10*3=30$
$2B$: $3+3+1+1: 10*3=30$
$2C$: $3+2+2+1: 5*6*2=60$
$2D$: $3+2+1+1+1: 5*4=20$
$2E$: $2+2+2+2: 5$
$2F$: $2+2+2+1+1:10$
Total: $155$
$1A$: $3+3+3: 10$
$1B$: $3+3+2+1: 10*3*2=60$
$1C$: $3+3+1+1+1: 10$
$1D$: $3+2+2+2: 5*4=20$
$1E$: $3+2+2+1+1: 5*6=30$
$1F$: $2+2+2+2+1: 5$
Total: $135$
$0A$: $3+3+3+1: 10*2=20$
$0B$: $3+3+2+2: 10*3=30$
$0C$: $3+3+2+1+1: 10*3=30$
$0D$: $3+2+2+2+1: 5*4=20$
$0E$: $2+2+2+2+2: 1$
Total: $101$
Total total: $1+5+15+35+65+101+135+155+155+135+101=\boxed{903}$ possible hands