making colors transparent and moving log legend