For the first part you could try using my TCS230 library. The link to all my libraries is in the signature block. There is PDF documentation that tells you how to use and calibrate the sensor.
For the second part your RGB LED will need to be connected to the PWM Arduino pins. You will need to translate the RGB values (0-65535) into PWM signals (0-255) by scaling before you output the same color to the RGB LED.
Okay, thanks for your help. I found another tutorial online about using RGB LEDs at varying brightnesses which uses the PWM pins in the code, so I have hooked up the LEDs according to their directions. As for the sensor, I found another tutorial online but the code has errors that I don't know how to fix. Definitely will need your PDF file to calibrate the sensor when I get this thing running, though.