Removed local function

Removed local function parseColor in favor of using code directly.  This shortens the code somewhat.
Merge pull request #42 from KingofGamesYami/patch-4

Removed local function