by agys · 4y ago · 0 comments
const fillColor = `rgb(${r},${g},${b})`
For the rest: long live the Canvas! <3 const color = [254, 134, 29];
ctx.fillStyle = `rgb(${color})`;
ctx.fillStyle = `rgba(${color},0.5)`; // I use this one pretty often