i have a map that shows magnetic field strength and it uses a color scale so that when the colour is red on the map this means that the magnitude is approaching positive maximum and if its green then its close to 0 and when it gets to blue its approaching negative infinity, and i am looking for a way so that whenever i move the cursor on the map i would know the value of the magnetic field at that point based on the colour
i tried converting the RGB scale to numerical data but that was stupid because i keep getting 3 different values for each point