Vnesite rdečo, zeleno in modro barvno raven (0..255) in pritisnite gumb Pretvori :
Vrednosti R , G , B se delijo s 255, da se spremeni območje od 0..255 do 0..1:
R '= R / 255
G '= G / 255
B '= B / 255
Cmax = največ ( R ', G ', B ')
Cmin = min ( R ', G ', B ')
Δ = Cmax - Cmin
Izračun odtenka:
Izračun nasičenosti:
Izračun lahkotnosti:
L = ( Cmax + Cmin ) / 2
Barva | Barva ime |
Hex | (R, G, B) | (V, S, L) |
---|---|---|---|---|
Črna | # 000000 | (0,0,0) | (0 °, 0%, 0%) | |
Bela | #FFFFFF | (255.255.255) | (0 °, 0%, 100%) | |
Rdeča | # FF0000 | (255,0,0) | (0 °, 100%, 50%) | |
Lime | # 00FF00 | (0,255,0) | (120 °, 100%, 50%) | |
Modra | # 0000FF | (0,0,255) | (240 °, 100%, 50%) | |
Rumena | # FFFF00 | (255.255,0) | (60 °, 100%, 50%) | |
Cyan | # 00FFFF | (0,255,255) | (180 °, 100%, 50%) | |
Magenta | # FF00FF | (255,0255) | (300 °, 100%, 50%) | |
Srebro | #BFBFBF | (191.191.191) | (0 °, 0%, 75%) | |
siva | # 808080 | (128.128.128) | (0 °, 0%, 50%) | |
Maroon | # 800000 | (128,0,0) | (0 °, 100%, 25%) | |
Olivno | # 808000 | (128.128,0) | (60 °, 100%, 25%) | |
Zelena | # 008000 | (0,128,0) | (120 °, 100%, 25%) | |
Vijolična | # 800080 | (128,0.128) | (300 °, 100%, 25%) | |
Zelenomodra | # 008080 | (0,128,128) | (180 °, 100%, 25%) | |
Mornarica | # 000080 | (0,0,128) | (240 °, 100%, 25%) |