This code was written to demonstrate the Colour detection algorithm using only Python and OpenCV.
The list "yellow" defines the colours in a scalar format and upon changing this to our needs we are able to detect various colours.
The code has bee optimized to exit from the continuous feed from the webcam when the key 1 is pressed.