HEX: #4B5979
RGB: (75,89,121)
#4B5979 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4B5979 ist eine «websichere» Webfarbe #336666 (oder kurz #366).
Die Farbe #4B5979 wird in RGB als (75,89,121) definiert.
RGB: (75,89,121) (29%,35%,47%)
R 75 von 255 = 29%
G 89 von 255 = 35%
B 121 von 255 = 47%
R + G + B ~ 37%. #4B5979 ziemlich dunkle Farbe.
R + G + B =
75 + 89 + 121 = 285 (100%)
R 75 von 285 ~ 26.32%
G 89 von 285 ~ 31.23%
B 121 von 285 ~ 42.46%
Die Farbe #4B5979 wird in CMYK als (38,26,0,53) definiert.
CMYK: (38,26,0,53) C38M26Y0K53 (38%,26%,0%,53%) (0.38/0.26/0.00/0.53)
4B | 59 | 79 | |
---|---|---|---|
RGB | 75 | 89 | 121 |
HSL | 222° | 23.47% | 38.43% |
HSB/HSV | 222° | 38.02% | 47.45% |
CMYK | 38.02% | 26.45% | 0.00% |
52.55% |
Hexadezimal | 4B | 59 | 79 |
Dezimal | 75 | 89 | 121 |
Binär | 1001011 | 1011001 | 1111001 |
Oktal | 113 | 131 | 171 |
Beispiele css- und html für Elemente in der Farbe #4B5979. Bitte benutzen Sie auch rgb(75,89,121) statt hex-Code.
.myTextColor { color: #4B5979; }
<p style="color:#4B5979">This sample text font color is #4B5979.</p>
Die Farbe dieses Textes ist #4B5979.
.myBgColor { background-color: #4B5979; }
<div style="background-color:#4B5979">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4B5979.
.myBorderColor { border: 1px solid #4B5979; }
<div style="border:3px solid #4B5979">Div</div>
Die Grenzen von diesem div sind in Farbe #4B5979.
.myOpacity80 { color: #4B5979; opacity: 0.8; }
<p style="color:#4B5979;opacity:0.8;">80%</p>
Text in Farbe #4B5979 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B5979;}
<p style="text-shadow: 3px 3px 1px #4B5979">Text here.</p>
Dieser Text hat den Schatten in Farbe #4B5979.
.textShadow {text-shadow: 3px 3px 1px #4B5979, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B5979, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4B5979 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B5979, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B5979, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B5979 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B5979; -webkit-box-shadow: 1px 1px 3px 2px #4B5979; box-shadow: 1px 1px 3px 2px #4B5979; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B5979; -webkit-box-shadow: 1px 1px 3px 2px #4B5979; box-shadow:1px 1px 3px 2px #4B5979;">
Div content here</div>
Dieser Text ist in der Farbe #4B5979 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4B5979 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4B5979.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4B5979.