[8] refactoring Color class; add log class ; any changes ;