Functional color notations that existed before CSS Color Module Level 4 (rgb(), rgba(), hsl(), hsla()) used to only except comma-separated lists of arguments. That changes with Module Level 4, now you can also provide space-separated arguments.

rgb values

div {
  background-color: rgb(255 0 0);
}

Percentages

div {
  background-color: rgb(0% 100% 0%);
}

rgb values + alpha

div {
  background-color: rgb(0 0 255 / 0.5);
}

rgb values + percentage alpha

div {
  background-color: rgb(255 0 0 / 50%);
}

Summary

body {
  /* Comma-separated arguments */
  background-color: rgb(255, 0, 0);
  background-color: rgb(0%, 100%, 0%);
  background-color: rgba(255, 0, 0, 0.5);
  background-color: rgba(0%, 0%, 100%);

  /* Space-separated arguments */
  background-color: rgb(255 0 0);
  background-color: rgb(0% 100% 0%);
  background-color: rgb(255 0 0 / 0.5);
  background-color: rgba(255 0 0 / 0.5);
  background-color: rgb(0% 0% 100%);
  background-color: rgb(0% 100% 0% / 0.5);
  background-color: rgb(100% 0 0 / 50%);
}

My blog doesn't support comments yet, but you can reply via blog@matuzo.at.