A group of school teenagers have invented a revolutionary condom that changes colour when it comes into contact with sexually transmitted infections (STIs).

The teenagers –Daanyaal Ali, 14, Muaz Nawaz, 13 and Chirag Shah, 14, from the Isaac Newton Academy in Ilford, Essex, created the 'S.T.EYE' condom to "make detecting harmful STIs safer than ever before."

The revolutionary condom comes with a built-in indicator that transforms the condom into a different colour every time it comes into contact with a different strain of bacteria.

S.T.EYE can detect infections, including chlamydia and syphilis.

"We created the S.T.EYE as a new way for STI detection to help the future of the next generation," said Ali, reported The Independent.

"We wanted to make something that makes detecting harmful STIs safer than ever before, so that people can take immediate action in the privacy of their own homes without the invasive procedures at the doctors.

"We've made sure we're able to give peace of mind to users and make sure people can be even more responsible than ever before."

The teenagers have been awarded with the TeenTech gong for best health innovation that has won them £1,000, as well as a trip to Buckingham Palace.

Social media took the invention in good humour.

Meanwhile, TeenTech's founder and CEO, Maggie Philbin said: "We encourage students to take their ideas out of the classroom by putting them face-to-face with industry professionals, helping to open their eyes to the real potential of their ideas."

Another invention showcased at the TeenTech awards, included shoes that charge electrical devices using the energy generated by walking.