Refactoring2

would be nicer if we had all the authorised color in an array and then here just check if `parsedConfig.LogColor` is in the array