(#red/total)^x1 * (#green/total)^x2 * ...