I'm using Python to convert colour HEX values into HSV values using the hex2rgb() and rgb2hsv() functions. More info about the code I'm using can be found here: https://codeigo.com/python/convert-hex-to-rgb-and-hsv.
The code works fine for 1 HEX value, but I cannot figure out how you can use this code for multiple HEX values.
Example: print(rgb2hsv(*hex2rgb("#b4a795"))) works and gives me the following output: (35, 17, 71). This is what I need, but how can you use this code if you have a list of multiple HEX values? Let's say HEX values #b4a795, #e7e0d6, #d7cfc8 as an example.
I have to add that I'm new to Python, so this might be a simple solution. In any case, any help is greatly appreciated!