Comment Comment by agys A very annoying part of the Canvas API is that colors are represented as (CSS) strings, except for the pixel array, obviously. This forces to write code like this: const fillColor = `rgb(${r},${g},${b})` For the rest: long live the Canvas! <3 parent agys 4 years ago