HEX: #502040
RGB: (80,32,64)
Il colore #502040 contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #502040 il colore web safe è #663333 (#633).
Il colore 502040 in RGB è definito come 80,32,64
RGB: (80,32,64) (31%,13%,25%)
R 80 da 255 = 31%
G 32 da 255 = 13%
B 64 da 255 = 25%
R + G + B ~ 23%. #502040 colore scuro.
R + G + B =
80 + 32 + 64 = 176 (100%)
R 80 da 176 ~ 45.45%
G 32 da 176 ~ 18.18%
B 64 da 176 ~ 36.36%
Il colore #502040 in CMYK è definito come 0,60,20,69.
CMYK: (0,60,20,69) C0M60Y20K69 (0%,60%,20%,69%) (0.00/0.60/0.20/0.69)
50 | 20 | 40 | |
---|---|---|---|
RGB | 80 | 32 | 64 |
HSL | 320° | 42.86% | 21.96% |
HSB/HSV | 320° | 60.00% | 31.37% |
CMYK | 0.00% | 60.00% | 20.00% |
68.63% |
Esadicemale | 50 | 20 | 40 |
Decimale | 80 | 32 | 64 |
Binario | 1010000 | 100000 | 1000000 |
Ottale | 120 | 40 | 100 |
Esempi dei codici css e html per gli elementi di colore #502040. Utilizzate rgb(80,32,64) anche al posto del codice hex.
.myTextColor { color: #502040; }
<p style="color:#502040">This sample text font color is #502040.</p>
Il colore di questo testo è #502040.
.myBgColor { background-color: #502040; }
<div style="background-color:#502040">Inner text</div>
Questo div ha lo sfondo di colore #502040.
.myBorderColor { border: 1px solid #502040; }
<div style="border:3px solid #502040">Div</div>
Questo div ha i bordi di colore 502040.
.myOpacity80 { color: #502040; opacity: 0.8; }
<p style="color:#502040;opacity:0.8;">80%</p>
Il testo di color #502040 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #502040;}
<p style="text-shadow: 3px 3px 1px #502040">Text here.</p>
Questo testo ha l'ombra di colore #502040.
.textShadow {text-shadow: 3px 3px 1px #502040, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #502040, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #502040 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#502040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#502040, Direction=45, Strength=4)">Text</p>
This text has shadow with #502040 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #502040; -webkit-box-shadow: 1px 1px 3px 2px #502040; box-shadow: 1px 1px 3px 2px #502040; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #502040; -webkit-box-shadow: 1px 1px 3px 2px #502040; box-shadow:1px 1px 3px 2px #502040;">
Div content here</div>
Questo e il testo di colore #502040 sullo sfondo nero.
Questo e il testo di colore #502040 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #502040.
Questo è un testo bianco sullo sfondo del colore #502040.