This tutorial is going to take you through how to make a system which senses which colour is most prominent in the background, using the same principal an LCD screen uses to display colour. It’s is relatively simple to make, while the code is of moderate length. The output is in the form of a hexadecimal value, which is the accepted norm for representing colours, and can be typed in to any picture editing application like paint or Photoshop to give you the resulting colour on your screen. Each pixel on any LCD or LED monitor you own consists of three ‘sub-pixels’ which are nothing but red, green and blue lights. These lights combined make up the 16.9 million colours that are commonly advertised. Each LED is given a voltage value from 0 to 256,to adjust its brightness from completely lit to unlit. This corresponds to an 8-bit hexadecimal number.