HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Canvas Object : Draw a red rectangle with a black shadow
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
shadowColor | 4.0 | 9.0 | 3.6 | 4.0 | 10.1 |
The shadowColor property sets or returns the color to use for shadows.
Default value: | #000000 |
---|---|
JavaScript syntax: | context.shadowColor = color; |
Value | Description | Play it |
---|---|---|
color | The CSS color value to use for shadows. Default value is #000000 | Play it » |
❮ Canvas Object