added color feature for triangle