refactor color screen output