Color Values
CSS colors can be defined as a hexadecimal notation for the combination of Red, Green, and Blue color values (RGB).The lowest value that can be given to one light source is 0 (hex #00) and the highest value is 255 (hex #FF).
The table below shows the result of combining Red, Green, and Blue light sources:
|
Color
|
Color HEX
|
Color RGB
|
| #000000 | rgb(0,0,0) | |
| #FF0000 | rgb(255,0,0) | |
| #00FF00 | rgb(0,255,0) | |
| #FFFF00 | rgb(255,255,0) | |
| #00FFFF | rgb(0,255,255) | |
| #FF00FF | rgb(255,0,255) | |
| #C0C0C0 | rgb(192,192,192) | |
| #FFFFFF | rgb(255,255,255) |
Tidak ada komentar:
Posting Komentar