Hi there. It can be a bit technical, but please allow me to explain how to specify colors. You should avoid changing anything except config.lua, just to be safe. For simplicity sake, each number should be a decimal between 0 and 1.
By default, Factorio uses RGB color where the first three numbers express color in terms of much red, green, and blue it has. Lower numbers are darker, and maxing all three gives you white. In RGB, magenta would be "full red and blue, no green" or "{ r=1, g=0, b=1 }
".
I don't find RGB very convenient, so I also offer the HSL colorspace. Here, the three numbers stand for Hue (where in the color wheel the color is, from red at 0, green at .33, blue at .66, and red again at 1.0), Saturation (from grey at 0 to full vividness at 1), and Lightness (black at 0, white at 1). In this case, magenta would be "exactly between blue and red, full saturation and normal lightness", or "HSL( 5/6, 1, .5 )
". You can mess around with a HSL color picker here: http://www.workwithcolor.com/hsl-color-picker-01.htm
The fourth number, which is optional, means Alpha in either case. Alpha is how transparent or opaque a color is, where 0 is completely invisible. Less than half alpha can be hard to see. For consistency with the alpha levels in UMC itself, I've specified levels for "slight", "part", and "full". If you don't specify alpha, it should default to 1.
With all that being said, the code you would want to add to your config.lua is one of these:
{ "resource", "crude-oil", { r=1, g=0, b=1, a=part } },
{ "resource", "crude-oil", HSL( 5/6, 1, .5, part) },
One final note: For some reason, Factorio accepts colors both in the range of 0-1 and 0-255. UMC is automatically compatible with both, just in case. If you have a color which is way off for no reason, double-check that none of its numbers are greater than 1 - if it is, Factorio assumes you're using the 0-255 range.