Hello experts.

Id like to know a way to display an image's color table in a QTableWidget. Let me rephrase the question, if I wanted to display the color table of an image how would I do it?

I would need the output of the color table to find colors that are in a specific range so I can manipulate those color group.

Thank you very much in advance.