  We prove bounds for a class of unital homomorphisms arising in the study of
spectral sets, by involving extremal functions and vectors. These are used to
recover three celebrated results on spectral constants by Crouzeix--Palencia,
Okubo--Ando and von Neumann in a unified way and to refine a recent result by
Crouzeix--Greenbaum.
