I was trying to work with random color gen on a HEX value. But I wanted to make sure blender color picker showed the exact color value in hex after converting the hex into linear non-gamma corrected color.
I used 2 different conversion formulas to cross check myself. But I get the correct HEX displayed value on the brushes every time now.
