add function for converting color
add color for EventView
Merge branch 'develop' of https://github.com/nromanen/Ch-024 into develop