Allows to specify a color when creating an event

Signed-off-by: Vincent Fournié <vincent.fournie@epyx.ch>