Refactor helper functions
Add spec to test Color