I think there is an algorithm for determining the dominant color in an image (in this case, in a emoji). I do not its name, though.
https://stackoverflow.com/questions/3241929/python-find-domi...
https://dev.to/producthackers/creating-a-color-palette-with-...