Introduïu un codi hexadecimal de 6 dígits o introduïu els nivells de color vermell, verd i blau (0..255) i premeu el botó Converteix :
Els valors R , G , B es divideixen per 255 per canviar l'interval de 0..255 a 0..1:
R '= R / 255
G '= G / 255
B '= B / 255
Cmax = màx ( R ', G ', B ')
Cmin = min ( R ', G ', B ')
Δ = Cmax - Cmin
Càlcul de matisos:

Càlcul de saturació:

Càlcul del valor:
V = Cmax
| Color | Color nom |
Hex | (R, G, B) | (H, S, V) |
|---|---|---|---|---|
| Negre | # 000000 | (0,0,0) | (0 °, 0%, 0%) | |
| Blanc | #FFFFFF | (255.255.255) | (0 °, 0%, 100%) | |
| Vermell | # FF0000 | (255,0,0) | (0 °, 100%, 100%) | |
| Lima | # 00FF00 | (0,255,0) | (120 °, 100%, 100%) | |
| Blau | # 0000FF | (0,0,255) | (240 °, 100%, 100%) | |
| Groc | # FFFF00 | (255.255,0) | (60 °, 100%, 100%) | |
| Cian | # 00FFFF | (0,255,255) | (180 °, 100%, 100%) | |
| Magenta | # FF00FF | (255,0.255) | (300 °, 100%, 100%) | |
| Plata | #BFBFBF | (191.191.191) | (0 °, 0%, 75%) | |
| Gris | # 808080 | (128.128.128) | (0 °, 0%, 50%) | |
| Granat | # 800000 | (128,0,0) | (0 °, 100%, 50%) | |
| Oliva | # 808000 | (128.128,0) | (60 °, 100%, 50%) | |
| Verd | # 008000 | (0,128,0) | (120 °, 100%, 50%) | |
| Porpra | # 800080 | (128.0.128) | (300 °, 100%, 50%) | |
| Teal | # 008080 | (0,128,128) | (180 °, 100%, 50%) | |
| Marina | # 000080 | (0,0,128) | (240 °, 100%, 50%) |