How to color the words in array which I do autocomplete from it ?

Hello , I knew How I can color word on codemirror when I select it from array to autocomplete , But I want when the codemirror show me the list to select word from it to show the words color inside the list … is it possible ? and How to do it ?