HEX: #4B497D
RGB: (75,73,125)
#4B497D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #4B497D ist eine «websichere» Webfarbe #333366 (oder kurz #336).
Die Farbe #4B497D wird in RGB als (75,73,125) definiert.
RGB: (75,73,125) (29%,29%,49%)
R 75 von 255 = 29%
G 73 von 255 = 29%
B 125 von 255 = 49%
R + G + B ~ 36%. #4B497D ziemlich dunkle Farbe.
R + G + B =
75 + 73 + 125 = 273 (100%)
R 75 von 273 ~ 27.47%
G 73 von 273 ~ 26.74%
B 125 von 273 ~ 45.79%
Die Farbe #4B497D wird in CMYK als (40,42,0,51) definiert.
CMYK: (40,42,0,51) C40M42Y0K51 (40%,42%,0%,51%) (0.40/0.42/0.00/0.51)
4B | 49 | 7D | |
---|---|---|---|
RGB | 75 | 73 | 125 |
HSL | 242° | 26.26% | 38.82% |
HSB/HSV | 242° | 41.60% | 49.02% |
CMYK | 40.00% | 41.60% | 0.00% |
50.98% |
Hexadezimal | 4B | 49 | 7D |
Dezimal | 75 | 73 | 125 |
Binär | 1001011 | 1001001 | 1111101 |
Oktal | 113 | 111 | 175 |
Beispiele css- und html für Elemente in der Farbe #4B497D. Bitte benutzen Sie auch rgb(75,73,125) statt hex-Code.
.myTextColor { color: #4B497D; }
<p style="color:#4B497D">This sample text font color is #4B497D.</p>
Die Farbe dieses Textes ist #4B497D.
.myBgColor { background-color: #4B497D; }
<div style="background-color:#4B497D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #4B497D.
.myBorderColor { border: 1px solid #4B497D; }
<div style="border:3px solid #4B497D">Div</div>
Die Grenzen von diesem div sind in Farbe #4B497D.
.myOpacity80 { color: #4B497D; opacity: 0.8; }
<p style="color:#4B497D;opacity:0.8;">80%</p>
Text in Farbe #4B497D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B497D;}
<p style="text-shadow: 3px 3px 1px #4B497D">Text here.</p>
Dieser Text hat den Schatten in Farbe #4B497D.
.textShadow {text-shadow: 3px 3px 1px #4B497D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B497D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #4B497D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B497D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B497D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B497D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B497D; -webkit-box-shadow: 1px 1px 3px 2px #4B497D; box-shadow: 1px 1px 3px 2px #4B497D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B497D; -webkit-box-shadow: 1px 1px 3px 2px #4B497D; box-shadow:1px 1px 3px 2px #4B497D;">
Div content here</div>
Dieser Text ist in der Farbe #4B497D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #4B497D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #4B497D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #4B497D.