Can I get an example of a class for TCS3200(Color sensor) using Arduino UNO?

I am designing a project where I have to store composition values of red, green and blue of any color using TCS3200 color sensor and arduino uno. I thought to design a class where the composition of three colors of any color will be stored in an object so that I can match it with another color's object. But I am new to this arduino world and I don't know how to design class in arduino.

Please can anyone give me a framework/example of such class design in arduino or tell me where I can found such.

Thank you.


Ok I will learn c++ but it would be easier for me if I can see some examples of how to implement class concepts in arduino codes.