So, from what I understand, your character sheet would look like this:
<a href="#MagicItems">Link to Magic Items</a>
<a href="#Treasure">Link to Treasure</a>
Name
Class
<lots of stats and other stuff>
[Anchor MagicItems]
Special information
<lot more stats and other stuff>
[Anchor Treasure]
Special information
<lot more stats and other stuff>
Note: You might have to shift the color codes to within the link code (the <a href=...></a> part) to make sure that the link changes color, but I don't remember off the top of my head.
Edit: Ugh, I just realized you were using color for reference... Fixed.
This message was last edited by the user at 20:49, Sat 22 Aug 2015.