For example, to print a white character with a black background, a color attribute of 0Fhex would be used.
The high four bits are set to 0000bin, representing the background color, black.
The low 4 bits, 1111bin, represent the foreground color, white.
By default, when using the BIOS interrupt, the highest bit controls the brightness of colors, and not blinking, but this behavior may differ in other implementations of BIOS colors [citation needed].
[1] This 16 colour palette is often used in console programs (e.g. cmd in Windows) and sometimes for chat in games (e.g.