Ask coding questions

← Back to all posts
Canvas Color
WilliamXing

How can I make the canvas colored?

Answered by AloegelhiPlaysR [earned 5 cycles]
View Answer
Voters
EssamKhoury
WilliamXing
Comments
hotnewtop
AloegelhiPlaysR
IntellectualGuy

There are 3 ways that you could do this, through the Seperate CSS stylesheet, internal, or inline

For Seperate CSS stylesheet

Internal

Inline

mwilki7

If you want the actual canvas itself to be red you can also do: