HEX: #502D88
RGB: (80,45,136)
Il colore #502D88 contiene principalmente il rosso e il blu. Per il #502D88 il colore web safe è #663399 (#639).
Il colore 502D88 in RGB è definito come 80,45,136
RGB: (80,45,136) (31%,18%,53%)
R 80 da 255 = 31%
G 45 da 255 = 18%
B 136 da 255 = 53%
R + G + B ~ 34%. #502D88 colore abbastanza scuro.
R + G + B =
80 + 45 + 136 = 261 (100%)
R 80 da 261 ~ 30.65%
G 45 da 261 ~ 17.24%
B 136 da 261 ~ 52.11%
Il colore #502D88 in CMYK è definito come 41,67,0,47.
CMYK: (41,67,0,47) C41M67Y0K47 (41%,67%,0%,47%) (0.41/0.67/0.00/0.47)
50 | 2D | 88 | |
---|---|---|---|
RGB | 80 | 45 | 136 |
HSL | 263° | 50.28% | 35.49% |
HSB/HSV | 263° | 66.91% | 53.33% |
CMYK | 41.18% | 66.91% | 0.00% |
46.67% |
Esadicemale | 50 | 2D | 88 |
Decimale | 80 | 45 | 136 |
Binario | 1010000 | 101101 | 10001000 |
Ottale | 120 | 55 | 210 |
Esempi dei codici css e html per gli elementi di colore #502D88. Utilizzate rgb(80,45,136) anche al posto del codice hex.
.myTextColor { color: #502D88; }
<p style="color:#502D88">This sample text font color is #502D88.</p>
Il colore di questo testo è #502D88.
.myBgColor { background-color: #502D88; }
<div style="background-color:#502D88">Inner text</div>
Questo div ha lo sfondo di colore #502D88.
.myBorderColor { border: 1px solid #502D88; }
<div style="border:3px solid #502D88">Div</div>
Questo div ha i bordi di colore 502D88.
.myOpacity80 { color: #502D88; opacity: 0.8; }
<p style="color:#502D88;opacity:0.8;">80%</p>
Il testo di color #502D88 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #502D88;}
<p style="text-shadow: 3px 3px 1px #502D88">Text here.</p>
Questo testo ha l'ombra di colore #502D88.
.textShadow {text-shadow: 3px 3px 1px #502D88, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #502D88, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #502D88 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#502D88, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#502D88, Direction=45, Strength=4)">Text</p>
This text has shadow with #502D88 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #502D88; -webkit-box-shadow: 1px 1px 3px 2px #502D88; box-shadow: 1px 1px 3px 2px #502D88; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #502D88; -webkit-box-shadow: 1px 1px 3px 2px #502D88; box-shadow:1px 1px 3px 2px #502D88;">
Div content here</div>
Questo e il testo di colore #502D88 sullo sfondo nero.
Questo e il testo di colore #502D88 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #502D88.
Questo è un testo bianco sullo sfondo del colore #502D88.