i

Learn HTML and CSS in 10 Days

Use Shorthand Hexadecimal Color Values

Always try to use the three-character shorthand hexadecimal color value as well as use lowercase characters inside any hexadecimal color value. The motive is to prevent confusion, go with the syntax of the language, and remain consistent.

Bar Code

.module {

  background: #DDDDDD;

  color: #FF6600;

}

Good Code

.module {

  background: #ddd;

  color: #f60;

}