I am not using RGB but rather HEX values. The data base looks something like this: Manufacturer, Color Name, Hex value, Red value, Green value, Blue value
From reading up on this Euclidian is the best way to go. I have found code that uses RGB that does something similar, but I am looking to use Hex. I will need to convert Hex to RGB I assume. Then use the shortest distance. My struggle is how do I use the HEX and how do I return the manufacturer and Color name from the database using python.There has to be existing code for this, if someone would be kind enough to share. Yes I am new to this.