event: refactor get_state_color method
event: refactor get_state_color method

hennevogel/osem,meonkeys/osem,raluka/osem,claudiug/osem,differentreality/osem,Shriyanshagro/osem,bear454/osem,rishabhptr/osem,BelieveC/osem,1000miles/osem,kormoc/osem,bear454/osem,differentreality/osem,sonalkr132/osem,AndrewKvalheim/osem,neilmillard/osem,namangupta01/osem,SeaGL/osem,kormoc/osem,Shriyanshagro/osem,BelieveC/osem,meonkeys/osem,namangupta01/osem,alcho/osem,hennevogel/osem,openSUSE/osem,SeaGL/osem,hennevogel/osem,raluka/osem,meonkeys/osem,claudiug/osem,sonalkr132/osem,differentreality/osem,AndrewKvalheim/osem,1000miles/osem,claudiug/osem,openSUSE/osem,sonalkr132/osem,Shriyanshagro/osem,1000miles/osem,SeaGL/osem,differentreality/osem,hennevogel/osem,rishabhptr/osem,bear454/osem,kormoc/osem,kormoc/osem,openSUSE/osem,ChrisBr/osem,BelieveC/osem,alcho/osem,ChrisBr/osem,bear454/osem,raluka/osem,sonalkr132/osem,AndrewKvalheim/osem,neilmillard/osem,ChrisBr/osem,BelieveC/osem,neilmillard/osem,alcho/osem,namangupta01/osem,Shriyanshagro/osem,rishabhptr/osem,ChrisBr/osem,rishabhptr/osem,namangupta01/osem,raluka/osem