Event panel custom colors

I`ve been looking for a while but got no info, how can i change the event pannel colors so for certain events i get different colors, for example geofence = blue, SOS = red...

Following this thread!