HEX: #7F505B
RGB: (127,80,91)
#7F505B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #7F505B ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #7F505B wird in RGB als (127,80,91) definiert.
RGB: (127,80,91) (50%,31%,36%)
R 127 von 255 = 50%
G 80 von 255 = 31%
B 91 von 255 = 36%
R + G + B ~ 39%. #7F505B ziemlich dunkle Farbe.
R + G + B =
127 + 80 + 91 = 298 (100%)
R 127 von 298 ~ 42.62%
G 80 von 298 ~ 26.85%
B 91 von 298 ~ 30.54%
Die Farbe #7F505B wird in CMYK als (0,37,28,50) definiert.
CMYK: (0,37,28,50) C0M37Y28K50 (0%,37%,28%,50%) (0.00/0.37/0.28/0.50)
7F | 50 | 5B | |
---|---|---|---|
RGB | 127 | 80 | 91 |
HSL | 346° | 22.71% | 40.59% |
HSB/HSV | 346° | 37.01% | 49.80% |
CMYK | 0.00% | 37.01% | 28.35% |
50.20% |
Hexadezimal | 7F | 50 | 5B |
Dezimal | 127 | 80 | 91 |
Binär | 1111111 | 1010000 | 1011011 |
Oktal | 177 | 120 | 133 |
Beispiele css- und html für Elemente in der Farbe #7F505B. Bitte benutzen Sie auch rgb(127,80,91) statt hex-Code.
.myTextColor { color: #7F505B; }
<p style="color:#7F505B">This sample text font color is #7F505B.</p>
Die Farbe dieses Textes ist #7F505B.
.myBgColor { background-color: #7F505B; }
<div style="background-color:#7F505B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #7F505B.
.myBorderColor { border: 1px solid #7F505B; }
<div style="border:3px solid #7F505B">Div</div>
Die Grenzen von diesem div sind in Farbe #7F505B.
.myOpacity80 { color: #7F505B; opacity: 0.8; }
<p style="color:#7F505B;opacity:0.8;">80%</p>
Text in Farbe #7F505B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F505B;}
<p style="text-shadow: 3px 3px 1px #7F505B">Text here.</p>
Dieser Text hat den Schatten in Farbe #7F505B.
.textShadow {text-shadow: 3px 3px 1px #7F505B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F505B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #7F505B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F505B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F505B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F505B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F505B; -webkit-box-shadow: 1px 1px 3px 2px #7F505B; box-shadow: 1px 1px 3px 2px #7F505B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F505B; -webkit-box-shadow: 1px 1px 3px 2px #7F505B; box-shadow:1px 1px 3px 2px #7F505B;">
Div content here</div>
Dieser Text ist in der Farbe #7F505B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #7F505B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #7F505B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #7F505B.