Refactored code to return full color instead of just one or two values.