How to do a script that could output my 3d files with the required color/lighting and angle versions
A great amount of automation is possible in Blender via Python scripting. Mostly any repetitive tasks can be automated and since it is scripting it is even more flexible and powerful than Photoshop's actions or batch processing scripts.
You can find more information on Blender's Python API in the documentation.
Be aware that the subject is quite complex and requires a lot of effort to master, so no single answer here on Blender Stack Exchange or other forums on the web will teach you to use this, however if you ask specific clear, well formed questions about specific issues you face while learning, Blender Stack Exchange can be a lot of help. You should attempt to use correct terminology, be specific and make the titles of your questions informative and reflecting the actual question. Best to form them as a question as well. See: How do I ask a good question?
When learning Blender's Python API, you can get a lot by studying the script examples that come with Blender:

As well as any add-ons that you can find in [Blender's install directory]\[version number]\scripts\addons\.
Blender's Python Console has a priceless autocomplete function as well, that shows you possible options when you start typing something if you hit Tab(previously Ctrl+Space) while still hovering the mouse over the area of Python Console:

Oh, and I almost forgot - you need to know how to use Python obviously. You can find all about it at not a very surprising web address: www.python.org. The website is amazing and really has everything you might need. This is also ridiculously good: www.w3schools.com/python/ .