Link Search Menu Expand Document

Use RGB values to Color Elements

Summary

  • Another way you can represent colors in CSS is by using RGB values.
    • Instead of using six hexadecimal digits, you use vlaues from 0-255 to represent brightnesss.

      Final Code

<style>
  body {
    background-color: rgb(0, 0, 0);
  }
</style>