I found :
$$B-V = -2.5 \log \left(\frac{f_B}{f_V}\right)$$$$B-V = -2.5 \log_{10} \left(\frac{f_B}{f_V}\right)$$
From this question. It works for my purposes but I am not sure I understand where it comes from.
Those are magnitudes on the left. Five magnitudes are a factor of 100, so 2.5 magnitudes are a factor of 10. So if ?$f_B/f_V =$ 100 (especially the -2i.5 coefficiente. 10$^2$) Could someone care to elaborate furtherthen ?$B-V =$5.