Try fillStyle and clearRect
Create triangle inside of square
Change colors for stroke and fill
Add text with fillText and strokeText