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