You can apply color to HTML elements, to borders, and to backgrounds. CSS lets you work with hexadecimal, RGB, and HSL values. There are also color keywords you can use.
- We've already seen some examples in this course…of working with color,…but let's look a little deeper.…There are three primary properties…that you'll use when defining color in CSS.…We've got background-color, border-color, and color.…And many people often refer to this…last one as the foreground color…In terms of elements like paragraphs,…headings, and lists, it'll be the color of the text.…So, whether you're defining color on borders,…backgrounds, or an element you have a…number of options in terms of how you…want to define the color.…
First, you can choose from one…of the many color keywords supported by CSS.…These keywords map to a predetermined set…of RGB values that browsers will use to display the color.…In place of keywords, you can also use…the Hexadecimal Notation to represent color values.…Essentially, hexadecimal notation is…another way of representing RGB color…by using three hex pairs to represent…the red, green, and blue values of a color.…There are also shorthand hex values…you can use for websafe colors.…
- What is CSS?
- Understanding how CSS works with HTML
- Applying fonts
- Understanding the classic box model
- Setting margins and padding
- Positioning elements
- Basic CSS layout concepts
- Media types and media queries
- Working with CSS frameworks and CSS grids
- Creating responsive layouts
- Tools that help you write and maintain CSS
Skill Level Beginner
1. CSS Basics
2. CSS Specifications
3. Common CSS Concepts
4. CSS Layouts
5. Working with CSS
6. Responsive CSS
7. Going Further with CSS
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.