Stav dette: A lattice Boltzmann model of ternary fluid mixtures