Cases are as follows:
Color Codes:
12,1312,1403Hi returns 03,14Hi
12Hi13Hello returns 12Hi13Hello
12Hello 12There 12You returns 12Hello There You
12,4051234Hey returns 05,041234Hey

Bold Codes:
Hello Hi returns Hello Hi
Hello returns Hello
Hello returns Hello

Underline and Reverse codes work the same as bold.
And all codes work fine interleaved with each other.

Any code, unneeded for the actual color display is removed.
In some cases redundant parts of display codes are moved.

In a standard bot colored bot log bot message about 20
characters are removed. In certain codes about 60 are
removed. Depending on how the color was implemented.