Removed local function

Removed local function parseColor in favor of using code directly.  This shortens the code somewhat.