I'd do it a bit differently. I know mIRC supports colours from 0 to 99 already; it just repeats every 16 colours. I don't see why 20 through 83 can't be used for a 6-bit colour palette, with 16 of them being the original 0 through 15. However, those 64 colours should be locally customizable.

See: EGA Colours