HEX: #304B60
RGB: (48,75,96)
#304B60 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #304B60 ist eine «websichere» Webfarbe #333366 (oder kurz #336).
Die Farbe #304B60 wird in RGB als (48,75,96) definiert.
RGB: (48,75,96) (19%,29%,38%)
R 48 von 255 = 19%
G 75 von 255 = 29%
B 96 von 255 = 38%
R + G + B ~ 29%. #304B60 ziemlich dunkle Farbe.
R + G + B =
48 + 75 + 96 = 219 (100%)
R 48 von 219 ~ 21.92%
G 75 von 219 ~ 34.25%
B 96 von 219 ~ 43.84%
Die Farbe #304B60 wird in CMYK als (50,22,0,62) definiert.
CMYK: (50,22,0,62) C50M22Y0K62 (50%,22%,0%,62%) (0.50/0.22/0.00/0.62)
30 | 4B | 60 | |
---|---|---|---|
RGB | 48 | 75 | 96 |
HSL | 206° | 33.33% | 28.24% |
HSB/HSV | 206° | 50.00% | 37.65% |
CMYK | 50.00% | 21.88% | 0.00% |
62.35% |
Hexadezimal | 30 | 4B | 60 |
Dezimal | 48 | 75 | 96 |
Binär | 110000 | 1001011 | 1100000 |
Oktal | 60 | 113 | 140 |
Beispiele css- und html für Elemente in der Farbe #304B60. Bitte benutzen Sie auch rgb(48,75,96) statt hex-Code.
.myTextColor { color: #304B60; }
<p style="color:#304B60">This sample text font color is #304B60.</p>
Die Farbe dieses Textes ist #304B60.
.myBgColor { background-color: #304B60; }
<div style="background-color:#304B60">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #304B60.
.myBorderColor { border: 1px solid #304B60; }
<div style="border:3px solid #304B60">Div</div>
Die Grenzen von diesem div sind in Farbe #304B60.
.myOpacity80 { color: #304B60; opacity: 0.8; }
<p style="color:#304B60;opacity:0.8;">80%</p>
Text in Farbe #304B60 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #304B60;}
<p style="text-shadow: 3px 3px 1px #304B60">Text here.</p>
Dieser Text hat den Schatten in Farbe #304B60.
.textShadow {text-shadow: 3px 3px 1px #304B60, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #304B60, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #304B60 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#304B60, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#304B60, Direction=45, Strength=4)">Text</p>
This text has shadow with #304B60 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #304B60; -webkit-box-shadow: 1px 1px 3px 2px #304B60; box-shadow: 1px 1px 3px 2px #304B60; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #304B60; -webkit-box-shadow: 1px 1px 3px 2px #304B60; box-shadow:1px 1px 3px 2px #304B60;">
Div content here</div>
Dieser Text ist in der Farbe #304B60 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #304B60 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #304B60.
Dieser Text ist weiß auf dem Hintergrund in Farbe #304B60.