Hi Julia,
I do not think you can achieve this with moodle gradebook, as it doe snot seem to have IF functions.
You may try to set "Grade to pass" for the course total to something. Then the color will later serve as an indicator if a student has enough points or not.
Gradebook
Calculation of alternative grade items
This discussion has been locked so you can no longer reply to it.