Therefore the colour of the light emitted by an LED is NOT determined by the colouring of the LED’s plastic body although these are slightly coloured to both enhance the light output and to indicate its colour when its not being illuminated by an electrical supply.
Light emitting diodes are available in a wide range of colours with the most common being RED, AMBER, YELLOW and GREEN and are thus widely used as visual indicators and as moving light displays.