Get color of text

Uses a separate color module to do color conversions.

Fixes #7