Refactor input colors