>>3863081To an extent in camera with filters for strong corrections (tungsten light, fluorescent etc.).
The rest on the enrager head, you had three separate dials, for yellow, magenta and cyan. Then test strips/prints and adjusting filtration.
There were some tools to make your life easier.
The most common and cheapest one was a largish piece of cardboard with say a 6x6 grid of cutouts. Each cutout had a tinted gélatin applied to it, of various hues and intensity.
You’d hold your test print, and hold the various cutouts in front of your eye, looking your print through them. Whichever made you print look best (or most neutral), you’d check the numbers written under that cutout. Then you’d dial that number on the enlarger head, and that would make the whole print look as your test print looked through the cutout.