I am using it like this . Now how to set barlegend numbers according to the c[x] value?
c[x_] := (1 - 0.01/x^2)/( 4 [Pi] Sqrt[(1 - 0.0005/x) (1 - x/20)] x);
b[x_] = x;
Legended[Graphics[ Table[{Hue[c[i]/(9*c[6])], Circle[{0, 0}, b[i]]}, {i, 1, 6, 0.1}], ImageSize -> 350, Frame -> True], BarLegend[{Hue[c[#]/(9*c[6])] &, {1, 6}}]]