Introduïu el to en graus (°), saturació i valor (0..100%) i premeu el botó Converteix :
Quan 0 ≤ H <360, 0 ≤ S ≤ 1 i 0 ≤ V ≤ 1:
C = V × S
X = C × (1 - | ( H / 60 °) mod 2 - 1 |)
m = V - C
( R , G , B ) = (( R '+ m ) × 255, ( G ' + m ) × 255, ( B '+ m ) × 255)
Color | Color nom |
(H, S, V) | Hex | (R, G, B) |
---|---|---|---|---|
Negre | (0 °, 0%, 0%) | # 000000 | (0,0,0) | |
Blanc | (0 °, 0%, 100%) | #FFFFFF | (255.255.255) | |
Vermell | (0 °, 100%, 100%) | # FF0000 | (255,0,0) | |
Lima | (120 °, 100%, 100%) | # 00FF00 | (0,255,0) | |
Blau | (240 °, 100%, 100%) | # 0000FF | (0,0,255) | |
Groc | (60 °, 100%, 100%) | # FFFF00 | (255.255,0) | |
Cian | (180 °, 100%, 100%) | # 00FFFF | (0,255,255) | |
Magenta | (300 °, 100%, 100%) | # FF00FF | (255,0.255) | |
Plata | (0 °, 0%, 75%) | #BFBFBF | (191.191.191) | |
Gris | (0 °, 0%, 50%) | # 808080 | (128.128.128) | |
Granat | (0 °, 100%, 50%) | # 800000 | (128,0,0) | |
Oliva | (60 °, 100%, 50%) | # 808000 | (128.128,0) | |
Verd | (120 °, 100%, 50%) | # 008000 | (0,128,0) | |
Porpra | (300 °, 100%, 50%) | # 800080 | (128.0.128) | |
Teal | (180 °, 100%, 50%) | # 008080 | (0,128,128) | |
Marina | (240 °, 100%, 50%) | # 000080 | (0,0,128) |