The problem is that I don't know how to translate them because I don't know what they mean.
Bg = (B/255)γ, where we use γ = 2.2
What is the value of Bg when B is 128?