I am using a Common Anode RGB LED and the colours it displays are nothing like the colours supposedly related to RGB codes. It has been suggested that the codes to which I refer are related to television and not to LEDs as such, so my first question is, "Where to I find a table of RGB codes relevant to LEDs (more specifically, to this LED)?"

More generally, how do I get predictable colour from an RGB LED?

Thanks