Today I learned...

| RSS | Contact |

... that I have to tell the canvas that I want to use an alpha value: const ctx = canvas.getContext('2d', {alpha: true});, otherwise the color will turn black if the value is below 10.