HEX: #15315B
RGB: (21,49,91)
#15315B enthält hauptsächlich grüne und blaue Farbe. Für #15315B ist eine «websichere» Webfarbe #003366 (oder kurz #036).
Die Farbe #15315B wird in RGB als (21,49,91) definiert.
RGB: (21,49,91) (8%,19%,36%)
R 21 von 255 = 8%
G 49 von 255 = 19%
B 91 von 255 = 36%
R + G + B ~ 21%. #15315B dunkle Farbe.
R + G + B =
21 + 49 + 91 = 161 (100%)
R 21 von 161 ~ 13.04%
G 49 von 161 ~ 30.43%
B 91 von 161 ~ 56.52%
Die Farbe #15315B wird in CMYK als (77,46,0,64) definiert.
CMYK: (77,46,0,64) C77M46Y0K64 (77%,46%,0%,64%) (0.77/0.46/0.00/0.64)
15 | 31 | 5B | |
---|---|---|---|
RGB | 21 | 49 | 91 |
HSL | 216° | 62.50% | 21.96% |
HSB/HSV | 216° | 76.92% | 35.69% |
CMYK | 76.92% | 46.15% | 0.00% |
64.31% |
Hexadezimal | 15 | 31 | 5B |
Dezimal | 21 | 49 | 91 |
Binär | 10101 | 110001 | 1011011 |
Oktal | 25 | 61 | 133 |
Beispiele css- und html für Elemente in der Farbe #15315B. Bitte benutzen Sie auch rgb(21,49,91) statt hex-Code.
.myTextColor { color: #15315B; }
<p style="color:#15315B">This sample text font color is #15315B.</p>
Die Farbe dieses Textes ist #15315B.
.myBgColor { background-color: #15315B; }
<div style="background-color:#15315B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #15315B.
.myBorderColor { border: 1px solid #15315B; }
<div style="border:3px solid #15315B">Div</div>
Die Grenzen von diesem div sind in Farbe #15315B.
.myOpacity80 { color: #15315B; opacity: 0.8; }
<p style="color:#15315B;opacity:0.8;">80%</p>
Text in Farbe #15315B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15315B;}
<p style="text-shadow: 3px 3px 1px #15315B">Text here.</p>
Dieser Text hat den Schatten in Farbe #15315B.
.textShadow {text-shadow: 3px 3px 1px #15315B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15315B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #15315B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15315B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15315B, Direction=45, Strength=4)">Text</p>
This text has shadow with #15315B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #15315B; -webkit-box-shadow: 1px 1px 3px 2px #15315B; box-shadow: 1px 1px 3px 2px #15315B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #15315B; -webkit-box-shadow: 1px 1px 3px 2px #15315B; box-shadow:1px 1px 3px 2px #15315B;">
Div content here</div>
Dieser Text ist in der Farbe #15315B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #15315B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #15315B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #15315B.