The raw data has a span of 0 to 1024. This means that raw data is ideal if the robot is looking for something very specific. Instead if you are looking for a broader span in colors, it is better to use the percentage as it takes into account small variations in color.