[140726] Fix a bug and Improve GetColor()