HEX: #31476D
RGB: (49,71,109)
#31476D enthält hauptsächlich grüne und blaue Farbe. Für #31476D ist eine «websichere» Webfarbe #333366 (oder kurz #336).
Die Farbe #31476D wird in RGB als (49,71,109) definiert.
RGB: (49,71,109) (19%,28%,43%)
R 49 von 255 = 19%
G 71 von 255 = 28%
B 109 von 255 = 43%
R + G + B ~ 30%. #31476D ziemlich dunkle Farbe.
R + G + B =
49 + 71 + 109 = 229 (100%)
R 49 von 229 ~ 21.4%
G 71 von 229 ~ 31%
B 109 von 229 ~ 47.6%
Die Farbe #31476D wird in CMYK als (55,35,0,57) definiert.
CMYK: (55,35,0,57) C55M35Y0K57 (55%,35%,0%,57%) (0.55/0.35/0.00/0.57)
31 | 47 | 6D | |
---|---|---|---|
RGB | 49 | 71 | 109 |
HSL | 218° | 37.97% | 30.98% |
HSB/HSV | 218° | 55.05% | 42.75% |
CMYK | 55.05% | 34.86% | 0.00% |
57.25% |
Hexadezimal | 31 | 47 | 6D |
Dezimal | 49 | 71 | 109 |
Binär | 110001 | 1000111 | 1101101 |
Oktal | 61 | 107 | 155 |
Beispiele css- und html für Elemente in der Farbe #31476D. Bitte benutzen Sie auch rgb(49,71,109) statt hex-Code.
.myTextColor { color: #31476D; }
<p style="color:#31476D">This sample text font color is #31476D.</p>
Die Farbe dieses Textes ist #31476D.
.myBgColor { background-color: #31476D; }
<div style="background-color:#31476D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #31476D.
.myBorderColor { border: 1px solid #31476D; }
<div style="border:3px solid #31476D">Div</div>
Die Grenzen von diesem div sind in Farbe #31476D.
.myOpacity80 { color: #31476D; opacity: 0.8; }
<p style="color:#31476D;opacity:0.8;">80%</p>
Text in Farbe #31476D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #31476D;}
<p style="text-shadow: 3px 3px 1px #31476D">Text here.</p>
Dieser Text hat den Schatten in Farbe #31476D.
.textShadow {text-shadow: 3px 3px 1px #31476D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #31476D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #31476D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#31476D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#31476D, Direction=45, Strength=4)">Text</p>
This text has shadow with #31476D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #31476D; -webkit-box-shadow: 1px 1px 3px 2px #31476D; box-shadow: 1px 1px 3px 2px #31476D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #31476D; -webkit-box-shadow: 1px 1px 3px 2px #31476D; box-shadow:1px 1px 3px 2px #31476D;">
Div content here</div>
Dieser Text ist in der Farbe #31476D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #31476D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #31476D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #31476D.