Spud, head down to Jaycar, get one of their RGB LEDS, measure ur current led voltage drop, calculate the resistance required and buy the corresponding Resistor.
Formula is :
.................. V(circuit) - V(LED)
R (ohms) = ----------------------
.................. I (LED)
assume that the car will always have 12V, and the Jaycar LED i'm looking at is CAT: ZD-0246 5mm RGB waterclear lens LED($5.95) , has a peak A of .1A and a max V of 2.6V then it would be
.................. V(circuit) 12 - V(LED) 2.6
R (ohms) = ------------------------------
.................. I (LED) .1
............. = 94 Ohm resistor
wire up the LED like so:
(+) ------[Resistor]----------(LED)--------- (-)
Jaycar doesnt have a 94 Ohms resistor so what u can do is try and see if a 100Ohm will work (Cat no. RR-0548) which may work but be a bit dim(dont think u can tell, V=12.6) or use a 91Ohm Resistor (Cat no. RR-0547), which should be ok as well (V =11.7)
The nearest Jaycar shop in perth, well the only one is in northbridge ( 326 Newcastle St 6003) so if u cant get to it, tell me what u want to do and if u want i can just send u the stuff cos i'm pretty close to a Jaycar store....
ok physics lesson has ended