HEX: #514C72
RGB: (81,76,114)
#514C72 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #514C72 ist eine «websichere» Webfarbe #663366 (oder kurz #636).
Die Farbe #514C72 wird in RGB als (81,76,114) definiert.
RGB: (81,76,114) (32%,30%,45%)
R 81 von 255 = 32%
G 76 von 255 = 30%
B 114 von 255 = 45%
R + G + B ~ 36%. #514C72 ziemlich dunkle Farbe.
R + G + B =
81 + 76 + 114 = 271 (100%)
R 81 von 271 ~ 29.89%
G 76 von 271 ~ 28.04%
B 114 von 271 ~ 42.07%
Die Farbe #514C72 wird in CMYK als (29,33,0,55) definiert.
CMYK: (29,33,0,55) C29M33Y0K55 (29%,33%,0%,55%) (0.29/0.33/0.00/0.55)
51 | 4C | 72 | |
---|---|---|---|
RGB | 81 | 76 | 114 |
HSL | 248° | 20.00% | 37.25% |
HSB/HSV | 248° | 33.33% | 44.71% |
CMYK | 28.95% | 33.33% | 0.00% |
55.29% |
Hexadezimal | 51 | 4C | 72 |
Dezimal | 81 | 76 | 114 |
Binär | 1010001 | 1001100 | 1110010 |
Oktal | 121 | 114 | 162 |
Beispiele css- und html für Elemente in der Farbe #514C72. Bitte benutzen Sie auch rgb(81,76,114) statt hex-Code.
.myTextColor { color: #514C72; }
<p style="color:#514C72">This sample text font color is #514C72.</p>
Die Farbe dieses Textes ist #514C72.
.myBgColor { background-color: #514C72; }
<div style="background-color:#514C72">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #514C72.
.myBorderColor { border: 1px solid #514C72; }
<div style="border:3px solid #514C72">Div</div>
Die Grenzen von diesem div sind in Farbe #514C72.
.myOpacity80 { color: #514C72; opacity: 0.8; }
<p style="color:#514C72;opacity:0.8;">80%</p>
Text in Farbe #514C72 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #514C72;}
<p style="text-shadow: 3px 3px 1px #514C72">Text here.</p>
Dieser Text hat den Schatten in Farbe #514C72.
.textShadow {text-shadow: 3px 3px 1px #514C72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #514C72, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #514C72 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#514C72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#514C72, Direction=45, Strength=4)">Text</p>
This text has shadow with #514C72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #514C72; -webkit-box-shadow: 1px 1px 3px 2px #514C72; box-shadow: 1px 1px 3px 2px #514C72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #514C72; -webkit-box-shadow: 1px 1px 3px 2px #514C72; box-shadow:1px 1px 3px 2px #514C72;">
Div content here</div>
Dieser Text ist in der Farbe #514C72 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #514C72 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #514C72.
Dieser Text ist weiß auf dem Hintergrund in Farbe #514C72.