Reference

XSetForeground(3) on Linux

The text b81d9f711586, as Debian 12 (Bookworm) shipped it.

GC convenience routines

XSetForeground(3) on Linux now