HEX: #F0FACC
RGB: (240,250,204)
#F0FACC enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #F0FACC ist eine «websichere» Webfarbe #FFFFCC (oder kurz #FFC).
Die Farbe #F0FACC wird in RGB als (240,250,204) definiert.
RGB: (240,250,204) (94%,98%,80%)
R 240 von 255 = 94%
G 250 von 255 = 98%
B 204 von 255 = 80%
R + G + B ~ 91%. #F0FACC helle Farbe.
R + G + B =
240 + 250 + 204 = 694 (100%)
R 240 von 694 ~ 34.58%
G 250 von 694 ~ 36.02%
B 204 von 694 ~ 29.39%
Die Farbe #F0FACC wird in CMYK als (4,0,18,2) definiert.
CMYK: (4,0,18,2) C4M0Y18K2 (4%,0%,18%,2%) (0.04/0.00/0.18/0.02)
F0 | FA | CC | |
---|---|---|---|
RGB | 240 | 250 | 204 |
HSL | 73° | 82.14% | 89.02% |
HSB/HSV | 73° | 18.40% | 98.04% |
CMYK | 4.00% | 0.00% | 18.40% |
1.96% |
Hexadezimal | F0 | FA | CC |
Dezimal | 240 | 250 | 204 |
Binär | 11110000 | 11111010 | 11001100 |
Oktal | 360 | 372 | 314 |
Beispiele css- und html für Elemente in der Farbe #F0FACC. Bitte benutzen Sie auch rgb(240,250,204) statt hex-Code.
.myTextColor { color: #F0FACC; }
<p style="color:#F0FACC">This sample text font color is #F0FACC.</p>
Die Farbe dieses Textes ist #F0FACC.
.myBgColor { background-color: #F0FACC; }
<div style="background-color:#F0FACC">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #F0FACC.
.myBorderColor { border: 1px solid #F0FACC; }
<div style="border:3px solid #F0FACC">Div</div>
Die Grenzen von diesem div sind in Farbe #F0FACC.
.myOpacity80 { color: #F0FACC; opacity: 0.8; }
<p style="color:#F0FACC;opacity:0.8;">80%</p>
Text in Farbe #F0FACC und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0FACC;}
<p style="text-shadow: 3px 3px 1px #F0FACC">Text here.</p>
Dieser Text hat den Schatten in Farbe #F0FACC.
.textShadow {text-shadow: 3px 3px 1px #F0FACC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0FACC, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #F0FACC und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0FACC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0FACC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0FACC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0FACC; -webkit-box-shadow: 1px 1px 3px 2px #F0FACC; box-shadow: 1px 1px 3px 2px #F0FACC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0FACC; -webkit-box-shadow: 1px 1px 3px 2px #F0FACC; box-shadow:1px 1px 3px 2px #F0FACC;">
Div content here</div>
Dieser Text ist in der Farbe #F0FACC auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #F0FACC auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #F0FACC.
Dieser Text ist weiß auf dem Hintergrund in Farbe #F0FACC.