HEX: #4887AB
RGB: (72,135,171)
#4887AB enthält hauptsächlich grüne und blaue Farbe. Für #4887AB ist eine «websichere» Webfarbe #339999 (oder kurz #399).
Die Farbe #4887AB wird in RGB als (72,135,171) definiert.
RGB: (72,135,171) (28%,53%,67%)
R 72 von 255 = 28%
G 135 von 255 = 53%
B 171 von 255 = 67%
R + G + B ~ 49%. #4887AB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
72 + 135 + 171 = 378 (100%)
R 72 von 378 ~ 19.05%
G 135 von 378 ~ 35.71%
B 171 von 378 ~ 45.24%
Die Farbe #4887AB wird in CMYK als (58,21,0,33) definiert.
CMYK: (58,21,0,33) C58M21Y0K33 (58%,21%,0%,33%) (0.58/0.21/0.00/0.33)
48 | 87 | AB | |
---|---|---|---|
RGB | 72 | 135 | 171 |
HSL | 202° | 40.74% | 47.65% |
HSB/HSV | 202° | 57.89% | 67.06% |
CMYK | 57.89% | 21.05% | 0.00% |
32.94% |
Hexadezimal | 48 | 87 | AB |
Dezimal | 72 | 135 | 171 |
Binär | 1001000 | 10000111 | 10101011 |
Oktal | 110 | 207 | 253 |
Beispiele css- und html für Elemente in der Farbe #4887AB. Bitte benutzen Sie auch rgb(72,135,171) statt hex-Code.
.myTextColor { color: #4887AB; }
<p style="color:#4887AB">This sample text font color is #4887AB.</p>
Die Farbe dieses Textes ist #4887AB.
.myBgColor { background-color: #4887AB; }
<div style="background-color:#4887AB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4887AB.
.myBorderColor { border: 1px solid #4887AB; }
<div style="border:3px solid #4887AB">Div</div>
Die Grenzen von diesem div sind in Farbe #4887AB.
.myOpacity80 { color: #4887AB; opacity: 0.8; }
<p style="color:#4887AB;opacity:0.8;">80%</p>
Text in Farbe #4887AB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4887AB;}
<p style="text-shadow: 3px 3px 1px #4887AB">Text here.</p>
Dieser Text hat den Schatten in Farbe #4887AB.
.textShadow {text-shadow: 3px 3px 1px #4887AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4887AB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4887AB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4887AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4887AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #4887AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4887AB; -webkit-box-shadow: 1px 1px 3px 2px #4887AB; box-shadow: 1px 1px 3px 2px #4887AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4887AB; -webkit-box-shadow: 1px 1px 3px 2px #4887AB; box-shadow:1px 1px 3px 2px #4887AB;">
Div content here</div>
Dieser Text ist in der Farbe #4887AB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4887AB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4887AB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4887AB.