fix color transform
Merge pull request #42 from lite3/refactoring

fix color transform