actualized triangle and color functions
 triangle and color functions
actualized triangle and color functions