actualized Triangle and Color functions