What formula (if any) I would use if I wanted to make text with a specific fill color to become bold? For example, if a cell's fill is gray and I want the text inside of every gray cell to be bold.

I looked through the conditional formatting presets but I couldn't find anything that was similar to what I wanted to do.