Masukkan level warna merah, hijau dan biru (0..255) dan tekan tombol Convert :
Nilai R , G , B dibagi 255 untuk mengubah rentang dari 0..255 hingga 0..1:
R '= R / 255
G '= G / 255
B '= B / 255
Cmaks = maks ( R ', G ', B ')
Cmin = min ( R ', G ', B ')
Δ = Cmaks - Cmin
Perhitungan rona:
Perhitungan saturasi:
Perhitungan ringan:
L = ( Cmax + Cmin ) / 2
Warna | Warna nama |
Hex | (R, G, B) | (H, S, L) |
---|---|---|---|---|
Hitam | # 000000 | (0,0,0) | (0 °, 0%, 0%) | |
putih | #FFFFFF | (255.255.255) | (0 °, 0%, 100%) | |
Merah | # FF0000 | (255,0,0) | (0 °, 100%, 50%) | |
jeruk nipis | # 00FF00 | (0,255,0) | (120 °, 100%, 50%) | |
Biru | # 0000FF | (0,0,255) | (240 °, 100%, 50%) | |
Kuning | # FFFF00 | (255.255,0) | (60 °, 100%, 50%) | |
Cyan | # 00FFFF | (0,255,255) | (180 °, 100%, 50%) | |
Magenta | # FF00FF | (255,0.255) | (300 °, 100%, 50%) | |
Perak | #BFBFBF | (191.191.191) | (0 °, 0%, 75%) | |
Abu-abu | # 808080 | (128.128.128) | (0 °, 0%, 50%) | |
Merah tua | # 800000 | (128,0,0) | (0 °, 100%, 25%) | |
Zaitun | # 808000 | (128.128,0) | (60 °, 100%, 25%) | |
hijau | # 008000 | (0,128,0) | (120 °, 100%, 25%) | |
Ungu | # 800080 | (128,0.128) | (300 °, 100%, 25%) | |
Teal | # 008080 | (0,128,128) | (180 °, 100%, 25%) | |
Angkatan laut | # 000080 | (0,0,128) | (240 °, 100%, 25%) |