1. This code is gigantic. 2. I borrowed the base code of this from Wikipedia and I've tweaked it and simplified some aspects in order for it to be more easily customizable. 3. Tweak the core coding itself at your own risk. XD 4. Names/relations and colors should be easily edited.
COLOR CODES: #DEDEC0 - Great-Great-Grandparents #A5C8B0 - Great-Grandparents #87A3AF - Grandparents #73769E - Parents #9A88B3 - Your Character