changed rgba values to hex in database