Add color func in searchResult