This is because how many colors you could encode in one byte. Not only this, in fact, most terminals had only 16 colors (using only 4 of 8 bits), the remaining 4 bits were flags used to indicate something with a character. The most common flags were: highlight, underline, blink, and vice versa; (or some other terminal features)
source share