Now, on the gallery control, you can set the "TemplateFill" property as:
If(ThisItem.Name in ColorCodesCollection.Employee,LookUp(ColorCodesCollection, Employee = ThisItem.Name).ColorCode,RGBA(0, 0, 0, 0))
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!