I am trying to match a specific color by mixing paints, and I think this is something intuitive for most people, or maybe just artists, but for me nothing has changed since kindergarten and all my color mixes eventually trend toward turd brown. I have an app on my phone that lets you decompose a color into its parts, very handy, especially in that you can tell it what colors you have available, and it will tell you the proportions in which to mix them, to get as close to the target as possible. This seemed like the silver bullet so I paid out for the full version of the app and it does as advertised but the problem is, when I take a picture of the thing I want to color match and I hover the color picker cursor over it, depending on where on the object I hover (in shadow, in reflection, or anywhere in the gradient between) it will report one of dozens or hundreds of color codes. I can pick a spot on the picture that I think best represents the actual color but it's not perfect. Then I must do the same thing (snap picture, color picker cursor, imperfect selection) for each color of paints I have. Then I decompose the color into the colors I have and mix in the prescribed ratios, and the result isn't even close. I assume the imperfections in my selections are compounding and skewing the result wildly. And/or that actual paints do not mix in the real world in the ideal way that they should according to the math; maybe the physical properties of some pigments make them "weaker" or "stronger" than their digital representations suggest. But that is something I think I can only confirm after I've eliminated the error in my color selections. So that is my question. How can I eliminate the color gradient caused by ambient light and take a picture or otherwise sample the true color of an object?