Pemilih warna RGB | Bagan kode warna RGB | Ruang warna RGB | Format dan perhitungan warna RGB | Tabel warna RGB
Arahkan kursor ke warna untuk mendapatkan kode warna heksa dan desimal di bawah ini:
Hex: # | |||
Merah: | |||
Hijau: | |||
Biru: |
RGB ruang warna atau sistem warna RGB , membangun semua warna dari kombinasi dari R ed, G reen dan B warna lue.
Merah, hijau dan biru masing-masing menggunakan 8 bit, yang memiliki nilai integer dari 0 hingga 255. Hal ini membuat 256 * 256 * 256 = 16777216 kemungkinan warna.
RGB ≡ Merah, Hijau, Biru
Setiap piksel dalam monitor LED menampilkan warna dengan cara ini, dengan kombinasi LED merah, hijau dan biru (dioda pemancar cahaya).
Jika piksel merah diatur ke 0, LED akan mati. Jika piksel merah diatur ke 255, LED menyala sepenuhnya.
Nilai apa pun di antara keduanya mengatur LED ke emisi cahaya parsial.
Kode RGB memiliki format 24 bit (bit 0..23):
MERAH [7: 0] | HIJAU [7: 0] | BIRU [7: 0] | |||||||||||||||||||||
23 | 16 | 15 | 8 | 7 | 0 |
RGB = (R*65536)+(G*256)+B , (when R is RED, G is GREEN and B is BLUE)
White RGB code = 255*65536+255*256+255 = #FFFFFF
Blue RGB code = 0*65536+0*256+255 = #0000FF
Red RGB code = 255*65536+0*256+0 = #FF0000
Green RGB code = 0*65536+255*256+0 = #00FF00
Gray RGB code = 128*65536+128*256+128 = #808080
Yellow RGB code = 255*65536+255*256+0 = #FFFF00
Warna dasar:
Warna | Nama HTML / CSS | Kode Hex #RRGGBB |
Kode Desimal (R, G, B) |
---|---|---|---|
Hitam | # 000000 | (0,0,0) | |
putih | #FFFFFF | (255.255.255) | |
Merah | # FF0000 | (255,0,0) | |
jeruk nipis | # 00FF00 | (0,255,0) | |
Biru | # 0000FF | (0,0,255) | |
Kuning | # FFFF00 | (255.255,0) | |
Cyan / Aqua | # 00FFFF | (0,255,255) | |
Magenta / Fuchsia | # FF00FF | (255,0.255) | |
Perak | # C0C0C0 | (192.192.192) | |
Abu-abu | # 808080 | (128.128.128) | |
Merah tua | # 800000 | (128,0,0) | |
Zaitun | # 808000 | (128.128,0) | |
hijau | # 008000 | (0,128,0) | |
Ungu | # 800080 | (128,0.128) | |
Teal | # 008080 | (0,128,128) | |
Angkatan laut | # 000080 | (0,0,128) |
Warna | Nama Warna | Kode Hex #RRGGBB |
Kode Desimal R, G, B |
---|---|---|---|
merah tua | # 800000 | (128,0,0) | |
merah gelap | # 8B0000 | (139,0,0) | |
cokelat | # A52A2A | (165,42,42) | |
batu bata tahan api | # B22222 | (178,34,34) | |
merah tua | # DC143C | (220,20,60) | |
merah | # FF0000 | (255,0,0) | |
tomat | # FF6347 | (255,99,71) | |
karang | # FF7F50 | (255.127,80) | |
merah India | # CD5C5C | (205,92,92) | |
karang ringan | # F08080 | (240.128.128) | |
salmon hitam | # E9967A | (233.150.122) | |
ikan salmon | # FA8072 | (250.128.114) | |
salmon ringan | # FFA07A | (255.160.122) | |
merah oranye | # FF4500 | (255,69,0) | |
oren tua | # FF8C00 | (255.140,0) | |
jeruk | # FFA500 | (255.165,0) | |
emas | # FFD700 | (255.215,0) | |
batang emas gelap | # B8860B | (184.134,11) | |
batang emas | # DAA520 | (218.165,32) | |
batang emas pucat | # EEE8AA | (238.232.170) | |
khaki gelap | # BDB76B | (189.183.107) | |
dril | # F0E68C | (240.230.140) | |
Zaitun | # 808000 | (128.128,0) | |
kuning | # FFFF00 | (255.255,0) | |
kuning hijau | # 9ACD32 | (154.205,50) | |
hijau zaitun tua | # 556B2F | (85.107,47) | |
zaitun menjemukan | # 6B8E23 | (107.142,35) | |
rumput hijau | # 7CFC00 | (124.252,0) | |
grafik digunakan kembali | # 7FFF00 | (127.255,0) | |
hijau kuning | # ADFF2F | (173.255,47) | |
hijau tua | # 006400 | (0,100,0) | |
hijau | # 008000 | (0,128,0) | |
hutan hijau | # 228B22 | (34.139,34) | |
jeruk nipis | # 00FF00 | (0,255,0) | |
hijau limau | # 32CD32 | (50.205,50) | |
hijau muda | # 90EE90 | (144.238.144) | |
hijau pucat | # 98FB98 | (152.251.152) | |
hijau laut tua | # 8FBC8F | (143.188.143) | |
hijau musim semi sedang | # 00FA9A | (0,250,154) | |
musim semi hijau | # 00FF7F | (0,255,127) | |
laut hijau | # 2E8B57 | (46.139.87) | |
aqua laut sedang | # 66CDAA | (102.205.170) | |
hijau laut sedang | # 3CB371 | (60.179.113) | |
hijau laut muda | # 20B2AA | (32.178.170) | |
abu-abu batu tulis gelap | # 2F4F4F | (47,79,79) | |
teal | # 008080 | (0,128,128) | |
sian tua | # 008B8B | (0,139,139) | |
aqua | # 00FFFF | (0,255,255) | |
cyan | # 00FFFF | (0,255,255) | |
sian muda | # E0FFFF | (224.255.255) | |
pirus gelap | # 00CED1 | (0,206,209) | |
pirus | # 40E0D0 | (64.224.208) | |
pirus sedang | # 48D1CC | (72.209.204) | |
pirus pucat | #AFEEEE | (175.238.238) | |
aqua marine | # 7FFFD4 | (127.255.212) | |
bubuk biru | # B0E0E6 | (176.224.230) | |
kadet biru | # 5F9EA0 | (95.158.160) | |
baja biru | # 4682B4 | (70.130.180) | |
bunga jagung biru | # 6495ED | (100.149.237) | |
langit biru tua | # 00BFFF | (0,191,255) | |
dodger biru | # 1E90FF | (30.144.255) | |
biru muda | # ADD8E6 | (173.216.230) | |
langit biru | # 87CEEB | (135.206.235) | |
langit biru muda | # 87CEFA | (135.206.250) | |
biru tengah malam | # 191970 | (25,25.112) | |
angkatan laut | # 000080 | (0,0,128) | |
Biru tua | # 00008B | (0,0,139) | |
biru sedang | # 0000CD | (0,0,205) | |
biru | # 0000FF | (0,0,255) | |
biru royal | # 4169E1 | (65.105.225) | |
ungu biru | # 8A2BE2 | (138,43,226) | |
nila | # 4B0082 | (75,0.130) | |
biru batu tulis tua | # 483D8B | (72,61.139) | |
batu tulis biru | # 6A5ACD | (106.90.205) | |
biru batu tulis sedang | # 7B68EE | (123.104.238) | |
ungu sedang | # 9370DB | (147.112.219) | |
magenta tua | # 8B008B | (139,0.139) | |
ungu tua | # 9400D3 | (148,0.211) | |
anggrek gelap | # 9932CC | (153.50.204) | |
anggrek sedang | # BA55D3 | (186,85,211) | |
ungu | # 800080 | (128,0.128) | |
thistle | # D8BFD8 | (216.191.216) | |
prem | # DDA0DD | (221.160.221) | |
ungu | # EE82EE | (238.130.238) | |
magenta / fuchsia | # FF00FF | (255,0.255) | |
anggrek | # DA70D6 | (218.112.214) | |
merah ungu sedang | # C71585 | (199,21,133) | |
merah ungu pucat | # DB7093 | (219.112.147) | |
merah muda tua | # FF1493 | (255,20,147) | |
merah muda cerah | # FF69B4 | (255.105.180) | |
merah muda terang | # FFB6C1 | (255.182.193) | |
Merah Jambu | # FFC0CB | (255.192.203) | |
putih antik | # FAEBD7 | (250.235.215) | |
krem | # F5F5DC | (245.245.220) | |
bisque | # FFE4C4 | (255.228.196) | |
almond pucat | #FFEBCD | (255.235.205) | |
gandum | # F5DEB3 | (245.222.179) | |
rambut jagung | # FFF8DC | (255.248.220) | |
sifon lemon | #FFFACD | (255.250.205) | |
batang emas muda berwarna kuning | # FAFAD2 | (250.250.210) | |
Kuning muda | # FFFFE0 | (255.255.224) | |
pelana coklat | # 8B4513 | (139,69,19) | |
sienna | # A0522D | (160,82,45) | |
cokelat | # D2691E | (210.105.30) | |
peru | # CD853F | (205.133,63) | |
coklat berpasir | # F4A460 | (244.164.96) | |
kayu kekar | # DEB887 | (222.184.135) | |
tan | # D2B48C | (210.180.140) | |
coklat kemerahan | # BC8F8F | (188.143.143) | |
sepatu sandal | # FFE4B5 | (255.228.181) | |
navajo putih | #FFDEAD | (255.222.173) | |
puff persik | # FFDAB9 | (255.218.185) | |
mawar berkabut | # FFE4E1 | (255.228.225) | |
lavender merona | # FFF0F5 | (255.240.245) | |
linen | # FAF0E6 | (250.240.230) | |
renda tua | # FDF5E6 | (253.245.230) | |
cambuk pepaya | # FFEFD5 | (255.239.213) | |
kerang laut | # FFF5EE | (255.245.238) | |
krim mint | # F5FFFA | (245.255.250) | |
abu-abu batu tulis | # 708090 | (112.128.144) | |
abu-abu batu tulis muda | # 778899 | (119.136.153) | |
baja muda biru | # B0C4DE | (176.196.222) | |
lavender | # E6E6FA | (230.230.250) | |
bunga putih | # FFFAF0 | (255.250.240) | |
alice blue | # F0F8FF | (240.248.255) | |
hantu putih | # F8F8FF | (248.248.255) | |
melon | # F0FFF0 | (240.255.240) | |
gading | # FFFFF0 | (255.255.240) | |
biru langit | # F0FFFF | (240.255.255) | |
salju | #FFFAFA | (255.250.250) | |
hitam | # 000000 | (0,0,0) | |
abu-abu redup / abu-abu redup | # 696969 | (105.105.105) | |
abu-abu / abu-abu | # 808080 | (128.128.128) | |
abu-abu tua / abu-abu tua | # A9A9A9 | (169.169.169) | |
perak | # C0C0C0 | (192.192.192) | |
abu-abu muda / abu-abu muda | # D3D3D3 | (211.211.211) | |
Gainsboro | #DCDCDC | (220.220.220) | |
asap putih | # F5F5F5 | (245.245.245) | |
putih | #FFFFFF | (255.255.255) |