HEX: #4F81AC
RGB: (79,129,172)
#4F81AC enthält hauptsächlich grüne und blaue Farbe. Für #4F81AC ist eine «websichere» Webfarbe #669999 (oder kurz #699).
Die Farbe #4F81AC wird in RGB als (79,129,172) definiert.
RGB: (79,129,172) (31%,51%,67%)
R 79 von 255 = 31%
G 129 von 255 = 51%
B 172 von 255 = 67%
R + G + B ~ 50%. #4F81AC mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
79 + 129 + 172 = 380 (100%)
R 79 von 380 ~ 20.79%
G 129 von 380 ~ 33.95%
B 172 von 380 ~ 45.26%
Die Farbe #4F81AC wird in CMYK als (54,25,0,33) definiert.
CMYK: (54,25,0,33) C54M25Y0K33 (54%,25%,0%,33%) (0.54/0.25/0.00/0.33)
4F | 81 | AC | |
---|---|---|---|
RGB | 79 | 129 | 172 |
HSL | 208° | 37.05% | 49.22% |
HSB/HSV | 208° | 54.07% | 67.45% |
CMYK | 54.07% | 25.00% | 0.00% |
32.55% |
Hexadezimal | 4F | 81 | AC |
Dezimal | 79 | 129 | 172 |
Binär | 1001111 | 10000001 | 10101100 |
Oktal | 117 | 201 | 254 |
Beispiele css- und html für Elemente in der Farbe #4F81AC. Bitte benutzen Sie auch rgb(79,129,172) statt hex-Code.
.myTextColor { color: #4F81AC; }
<p style="color:#4F81AC">This sample text font color is #4F81AC.</p>
Die Farbe dieses Textes ist #4F81AC.
.myBgColor { background-color: #4F81AC; }
<div style="background-color:#4F81AC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4F81AC.
.myBorderColor { border: 1px solid #4F81AC; }
<div style="border:3px solid #4F81AC">Div</div>
Die Grenzen von diesem div sind in Farbe #4F81AC.
.myOpacity80 { color: #4F81AC; opacity: 0.8; }
<p style="color:#4F81AC;opacity:0.8;">80%</p>
Text in Farbe #4F81AC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F81AC;}
<p style="text-shadow: 3px 3px 1px #4F81AC">Text here.</p>
Dieser Text hat den Schatten in Farbe #4F81AC.
.textShadow {text-shadow: 3px 3px 1px #4F81AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F81AC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4F81AC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F81AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F81AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F81AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F81AC; -webkit-box-shadow: 1px 1px 3px 2px #4F81AC; box-shadow: 1px 1px 3px 2px #4F81AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F81AC; -webkit-box-shadow: 1px 1px 3px 2px #4F81AC; box-shadow:1px 1px 3px 2px #4F81AC;">
Div content here</div>
Dieser Text ist in der Farbe #4F81AC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4F81AC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4F81AC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4F81AC.