Update `ImageBanner` and `AnsiColors` to optionally support 8-bit color output. See gh-18264
See gh-17393