Chapter 8
Part 2 - Introduction to Events
Section 22
Extra Lecture - Three Ways to Define a Color
Every color on the web can be represented in many different ways. For example, we can type the word blue, but we can also write blue as #0000ff, #00f, RGB(0,0,255), and many other ways. It doesn’t matter which one you choose as long as it's a valid color. Importantly, you can apply any of these ways to define a color to a website or blog. It comes down to personal preference. A little bit of FYI, did you know the following: To set a background color, use background-color, to set the text color, use color, to set a border color, use border-color.