Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 345 Bytes

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);

Something went wrong with that request. Please try again.