Choose readable colors

Colors can be written as names, hexadecimal values, or other formats. Keep enough contrast between text and its background so the content is easy to read.

body {
  color: #222222;
  background-color: #f4f8fa;
}

.notice {
  background-color: lightyellow;
}

Learn more