freeCodeCamp Challenge Guide: Use RGB values to Color Elements

freeCodeCamp Challenge Guide: Use RGB values to Color Elements
0

#1

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

RGB values look like this: rgb(6,1,9 ) for black and rgb(0, 0, 10) 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(6,1,9);

#2