update html: optimise trangle background color