A trivariate dichromatic polynomial for digraphs