Does anybody know how to make a gradient shade form based on a cells value?

Currently I have cells that have values like 5/12 6/12 9/12 11/12

Meaning there's 5 parts out of 12, or 6 out of 12 or 9 out of 12 etc...

I would like to do gradient formatting so the cell gets shaded more as there are more parts of the total.

I have other cells that are like 50/100 75/100 etc..

any help?