How to modify this part with 90 degree male header pins

You would likely be better to start from this part

If you download COLOR_RGB_Recognition_Sensor_TCS2300.fzz

in the temp parts bin you will find a better part for the tcs3200 (but still not right angle connectors.) Right click on the part in the parts bin and select export part to write a .fzpz file in the file system. Then unip the .fzpz file to get the .fzp file and the 4 vg files that make up the part. The right angle header is available here

although it is only three pins so you would need to modify it somewhat (which isn’t particularly easy!) This tutorial applies to current versions of Fritzing or I can make a part for you.

Peter