I just created a C4Context diagram and when I try to change the default colours it keeps ignoring the fontColor parameter.
Create a block like this one:
C4Context title Example System(object, "Sample object") UpdateElementStyle(object, $fontColor="white", $bgColor="lightgrey")
The font color of the System Context box should be “white”.
Instead it remains the default one.
Screenshot as reference: