HEX: #004797
RGB: (0,71,151)
Il colore #004797 contiene principalmente il blu. Per il #004797 il colore web safe è #003399 (#039).
Il colore 004797 in RGB è definito come 0,71,151
RGB: (0,71,151) (0%,28%,59%)
R 0 da 255 = 0%
G 71 da 255 = 28%
B 151 da 255 = 59%
R + G + B ~ 29%. #004797 colore abbastanza scuro.
R + G + B =
0 + 71 + 151 = 222 (100%)
R 0 da 222 ~ 0%
G 71 da 222 ~ 31.98%
B 151 da 222 ~ 68.02%
Il colore #004797 in CMYK è definito come 100,53,0,41.
CMYK: (100,53,0,41) C100M53Y0K41 (100%,53%,0%,41%) (1.00/0.53/0.00/0.41)
00 | 47 | 97 | |
---|---|---|---|
RGB | 0 | 71 | 151 |
HSL | 212° | 100.00% | 29.61% |
HSB/HSV | 212° | 100.00% | 59.22% |
CMYK | 100.00% | 52.98% | 0.00% |
40.78% |
Esadicemale | 00 | 47 | 97 |
Decimale | 0 | 71 | 151 |
Binario | 0 | 1000111 | 10010111 |
Ottale | 0 | 107 | 227 |
Esempi dei codici css e html per gli elementi di colore #004797. Utilizzate rgb(0,71,151) anche al posto del codice hex.
.myTextColor { color: #004797; }
<p style="color:#004797">This sample text font color is #004797.</p>
Il colore di questo testo è #004797.
.myBgColor { background-color: #004797; }
<div style="background-color:#004797">Inner text</div>
Questo div ha lo sfondo di colore #004797.
.myBorderColor { border: 1px solid #004797; }
<div style="border:3px solid #004797">Div</div>
Questo div ha i bordi di colore 004797.
.myOpacity80 { color: #004797; opacity: 0.8; }
<p style="color:#004797;opacity:0.8;">80%</p>
Il testo di color #004797 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #004797;}
<p style="text-shadow: 3px 3px 1px #004797">Text here.</p>
Questo testo ha l'ombra di colore #004797.
.textShadow {text-shadow: 3px 3px 1px #004797, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #004797, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #004797 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#004797, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#004797, Direction=45, Strength=4)">Text</p>
This text has shadow with #004797 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #004797; -webkit-box-shadow: 1px 1px 3px 2px #004797; box-shadow: 1px 1px 3px 2px #004797; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #004797; -webkit-box-shadow: 1px 1px 3px 2px #004797; box-shadow:1px 1px 3px 2px #004797;">
Div content here</div>
Questo e il testo di colore #004797 sullo sfondo nero.
Questo e il testo di colore #004797 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #004797.
Questo è un testo bianco sullo sfondo del colore #004797.