From the specs I've seen, this should do a basic capture. Give it a try
#include <NewSoftSerial.h>
NewSoftSerial mySerial(2, 3);
void setup()
{
Serial.begin(115200);
Serial.println("Start color sensor");
// set the data rate for the NewSoftSerial port
mySerial.begin(38400);
mySerial.write('C');
}
void loop()
{
char c;
if (mySerial.available())
{
char c = mySerial.read()
Serial.print(c);
if (c == ',') Serial.println(); // split the R G and B
if (c == 13) Serial.println(); // extra newline
}
}