I'm looking for a way to separately fill typographic counters (i.e. notches—„Punzen“).
Naïve macro application—for illustration:
\textcolor{violet>scopeDepth,0;red>scopeDepth,1}{\cntrcolor{yellow>scopeDepth,0;blue>scopeDepth,1}{\symbol{"24B6}}}
The image attached visualizes the desired output.
My ideal form of control would allow the coloration of (each of) both counters and both strokes of that single letter to differ from each other as well as from the background. That's what's illustrated by the code listing and that image. But for my concrete use-case, it would be sufficient to just distinguish the counters altogether, the strokes altogether and the background (in the illustration, that would mean: violet = red ∧ yellow = blue ∧ greenlyDepictedBackground ≠ purple ≠ yellow).
Can you think of any solution (approach)?
Up front, thanks for all effort!