SVG Graphics - Tutorial Part 8




Home

Downloads

Links

Message Board

News

Search Engines

Documentation

About this Site

E-Mail Me

Column Separation
Black Becomes Blue


Next, we can explore the features of the rectangle.

Maybe a colour other than black would be appealing. Maybe blue. Change RECT.SVG to the following, save and refresh your Browser to see the changes.

<rect x="80" y="53" width="189" height="52" style="fill:rgb(39,44,231"/>

Here, style is used to describe the fill colour.

The colour is first described as being fill, and then the colour is specified in RGB format and can equally be used as named or hexadecimal formats, such as "blue" or "#0000FF".

This is what it looks like!

| Home | | Downloads | | Links | | Message Board | | News | | Search Engines |
| Documentation | | About this Site | | E-Mail Me |