Set the foreground color attribute.
These attributes set the none bright named colors. The white color is a grey brighter than the "bright black".
In practice these colors can be customized or selected from a theme in most terminals. The exact values can vary wildly.
🛈 linuxvc has drivers that support monochrome mode, in which case the colors are ignored.