Adding implementation for contact bubble color computation