added (currently unused) determination of light and dark textbox bevel colours using gamma correction