I want to be able to attach a camera to my raspberry pi, and point it at a wall or single colour surface. I want it to be able to read the colour, and break it down into three rgb values. I would also like to get a value of its brightness too.
Is this possible ?
This is completely possible! There are a lot of people out there doing and sharing the same thing. Here are some links to pages where the How-To’s of making it work are discussed:
In this one they use a color sensor, this would be the easiest way to achieve your results: