Challenge Use RGB values To Color Elements - ashish9342/FreeCodeCamp GitHub Wiki

Challenge Use RGB values to Color Elements

Another way you can represent colors in CSS is by using rgb values.

RGB values look like this: rgb(0, 0, 0) for black and rgb(255, 255, 255) for white.

Instead of using six hexadecimal digits like you do with hex code, with rbg you specify the brightness of each color with a number between 0 and 255.

background-color: rgb(0,0,0);
⚠️ **GitHub.com Fallback** ⚠️