HEX: #515B7A
RGB: (81,91,122)
#515B7A enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #515B7A ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #515B7A wird in RGB als (81,91,122) definiert.
RGB: (81,91,122) (32%,36%,48%)
R 81 von 255 = 32%
G 91 von 255 = 36%
B 122 von 255 = 48%
R + G + B ~ 39%. #515B7A ziemlich dunkle Farbe.
R + G + B =
81 + 91 + 122 = 294 (100%)
R 81 von 294 ~ 27.55%
G 91 von 294 ~ 30.95%
B 122 von 294 ~ 41.5%
Die Farbe #515B7A wird in CMYK als (34,25,0,52) definiert.
CMYK: (34,25,0,52) C34M25Y0K52 (34%,25%,0%,52%) (0.34/0.25/0.00/0.52)
51 | 5B | 7A | |
---|---|---|---|
RGB | 81 | 91 | 122 |
HSL | 225° | 20.20% | 39.80% |
HSB/HSV | 225° | 33.61% | 47.84% |
CMYK | 33.61% | 25.41% | 0.00% |
52.16% |
Hexadezimal | 51 | 5B | 7A |
Dezimal | 81 | 91 | 122 |
Binär | 1010001 | 1011011 | 1111010 |
Oktal | 121 | 133 | 172 |
Beispiele css- und html für Elemente in der Farbe #515B7A. Bitte benutzen Sie auch rgb(81,91,122) statt hex-Code.
.myTextColor { color: #515B7A; }
<p style="color:#515B7A">This sample text font color is #515B7A.</p>
Die Farbe dieses Textes ist #515B7A.
.myBgColor { background-color: #515B7A; }
<div style="background-color:#515B7A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #515B7A.
.myBorderColor { border: 1px solid #515B7A; }
<div style="border:3px solid #515B7A">Div</div>
Die Grenzen von diesem div sind in Farbe #515B7A.
.myOpacity80 { color: #515B7A; opacity: 0.8; }
<p style="color:#515B7A;opacity:0.8;">80%</p>
Text in Farbe #515B7A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #515B7A;}
<p style="text-shadow: 3px 3px 1px #515B7A">Text here.</p>
Dieser Text hat den Schatten in Farbe #515B7A.
.textShadow {text-shadow: 3px 3px 1px #515B7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #515B7A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #515B7A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#515B7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#515B7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #515B7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #515B7A; -webkit-box-shadow: 1px 1px 3px 2px #515B7A; box-shadow: 1px 1px 3px 2px #515B7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #515B7A; -webkit-box-shadow: 1px 1px 3px 2px #515B7A; box-shadow:1px 1px 3px 2px #515B7A;">
Div content here</div>
Dieser Text ist in der Farbe #515B7A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #515B7A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #515B7A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #515B7A.