Watch a demo of different values of the shadowColor property.
Or click a specific value to see the result:
const c = document.getElementById('myCanvas'); const ctx = c.getContext('2d'); ctx.shadowBlur=20; ctx.shadowColor='blue'; ctx.fillStyle='red'; ctx.fillRect(20,20,100,80);