No libraries for this but the datasheet you provided has all the information you need.
ZX-COLOR would be detect the object color and convert to DC voltage 0-5V fed to the
OUTPUT connector
Connect the output signal to an analog input on the Arduino
Internal processing of ZX-COLOR will gives the digital data of target color in 6-bit
MSB.
Bit 7 and 4 as Red component bits (Rr). The full red color value is both bits as 11(R=1, r=1). None red color component, both bits are 00 (R=0, r=0).
Bit 6 and 3 as Green component bits (Gg). The full green color value is both bit as 11 (G=1, g=1). None green color component, both bits are 00 (G=0, g=0).
Bit 5 and 2 as Blue component bits (Bb). The full blue color value is both bits as 11 (B=1, b=1). None blue color component, both bits are 00 (B=0, b=0).
The important value are upper 6 bits. The internal processor will convert the color
bit to analog. The DC voltage output is 0 to 5V. The A/D system must convert the DC
voltage to digital data and analyze for defination the sensing color.
So take the analog value read from the sensor and use the bits above for the RGB values.
This sensor seems to take the RGB values from the TCS230 (0-255) and reduce them to 2 bit resolution (0-3) each.