You may have noticed that I've specified colors so far using words like "red" , "blue" , "green" , and so on. In fact, there are three ways to specify colors in VML:
You can use the HTML 4.0 predefined color names in VML:
You can also specify colors by giving the red, green, and blue color values in the rgb function like this: rgb( rrr , ggg , bbb ) , where rrr is the red color value, ggg is the green color value, and bbb is the blue color value, all of which range from to 255 . Or, you can give those color values directly using hexadecimal digits, as you would in HTML, like this: "# rrrgggbbb " . For example, "000000" is black, "#0000FF" is bright blue, "#FFFFFF" is white, and so on. |