It will not be an automatic TOC.
However, you could fairly easily set up the chapter divisions using the \b switch.
Work it as Automatic as you write and refine.
Then add the color as a final touch. That could be done manually, or using vba.
See
TOC Tips and Tricks by Suzanne Barnhill, MVP.