What version of InDesign?
Here is where the settings live an.d the steps that I used.
Window > interactive > hyperlinks (panel)
Select the 'text' within your document and from the hyperlinks panel dropdowns: > new hyperlink destination.
Type: text anchor
Name: auto filled with the text that you selected.
Use Find to Navigate to those words that are within your TOC at the beginning of your document.
Select the words.
Hyperlnks panel > click the white page icon near the bottom >new hyperlink
Link to : text anchor
TextAnchor: dropdowns to locate correct hyperlink destination.
Character Style: > new character style
Choose: font, size, color from here.
This works very well.
For me this was not immediately intuitive because it says 'character style' and I have been applying paragraph styles.
I also used this technique. Layout > table of contents Styles > Edit > select paragraph style applied to chapter headings Entry style: Pop down New paragraph style Create a paragraph style here that is not as large as the chapter headings within The contents of the book. Message was edited by: loveAndPeace
My ebook is using Text Anchoring (no page numbers). To change the hyperlink colors of my Table of Contents, I selected all of the text and applied a character style. Fixed it.