Course Content

Course Content


There are several different ways to specify colors in CSS:

  • Color Keywords.
  • RGB.
  • RGBA.
  • HSL.
  • HSLA.
  • Hexadecimal.

7 ideas for better colour management on the web:

  • Make a style guide using all of your colours. Make a colour scheme to help you stay on track.
  • Colors should be kept in a separate file.
  • Make a list of your colour variables.
  • For colour, use Sass maps.
  • Sass may be used to create opacity, brightness, and darkness.
  • Use the developer tools' custom palettes.
  • Pigments for Atom is a good option.

From the most basic (black, white, orange, yellow, blue...) to the most specific (lawngreen, orchid, crimson...), CSS supports 145 colour names. Color names are rarely used since they are difficult to memorise and because you are likely looking for very particular hues.

Hexadecimal code is the standard notation for expressing colors in CSS. It is an easy way to specify a color without using RGB values. Hexadecimal codes are also commonly used when specifying color names or creating palettes with different shades of one color.

To use the blur function to apply a blur effect to the background picture, use the z-index property to define the stack order of the element, and set the width and height to 100% to have a full background image. To position the element relative to the nearest positioned ancestor, use the position attribute with an absolute value.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere