Returns the correct colour for a geological period. Currently requires expansion to work with all periods.
The colours use the World Geological Map (Paris) colours, the global standard used at by the international commission for stratigraphy.
To translate the colours into rgb values, I used Ogg's free TS creator to generate a chart, saved it as an .svg, and opened it with Inkscape. Anyone wanting to expand the template is welcome to use the same method! Please do not leave any spaces in the rgb() declaration.
The template should be updated to use the values stated at http://www.purdue.edu/stratigraphy/charts/RGB.pdf.
Templates for retrieving data about geological periods: