added rgb to hex function, fixed math errors in RGBtoXY
rearranged buttons, set bg color with lights"