Color Sensor with IQ Blocks

How can I program color sensor with IQ Blocks? Any ideas?