menu_book Course Curriculum (Web Colors) expand_more
Basic Color Syntax
HSL & HWB
Modern Color Spaces
Color Mixing & Contrast
Gradients
Variables & Themes
Blending & Filters
Canvas strokeStyle color
Learn Canvas strokeStyle color in Web Colors with a focused explanation, a topic-specific example, edge guidance, and a mastery check.
12 min read
•
Advanced
Advertisement
colors-076.js
js
const ctx=canvas.getContext("2d");ctx.strokeStyle="#f97316";ctx.lineWidth=5;ctx.strokeRect(10,10,100,50);
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content