HEX: #F5DC80
RGB: (245,220,128)
#F5DC80 contains mainly red and green colors. Web safe color of #F5DC80 is #FFCC66 (or #FC6).
#F5DC80 color RGB value is (245,220,128).
RGB: (245,220,128) (96%,86%,50%)
R 245 of 255 = 96%
G 220 of 255 = 86%
B 128 of 255 = 50%
R + G + B ~ 77%. #F5DC80 is quite light color.
R + G + B =
245 + 220 + 128 = 593 (100%)
R 245 of 593 ~ 41.32%
G 220 of 593 ~ 37.1%
B 128 of 593 ~ 21.59%
#F5DC80 color CMYK value is (0,10,48,4).
CMYK: (0,10,48,4) C0M10Y48K4 (0%,10%,48%,4%) (0.00/0.10/0.48/0.04)
F5 | DC | 80 | |
---|---|---|---|
RGB | 245 | 220 | 128 |
HSL | 47° | 85.40% | 73.14% |
HSB/HSV | 47° | 47.76% | 96.08% |
CMYK | 0.00% | 10.20% | 47.76% |
3.92% |
HEX | F5 | DC | 80 |
Decimal | 245 | 220 | 128 |
Binary | 11110101 | 11011100 | 10000000 |
Octal | 365 | 334 | 200 |
Examples of css and html codes for elements with #F5DC80 color. Also use rgb(245,220,128) instead hex code.
.myTextColor { color: #F5DC80; }
<p style="color:#F5DC80">This sample text font color is #F5DC80.</p>
This text font color is #F5DC80.
.myBgColor { background-color: #F5DC80; }
<div style="background-color:#F5DC80">Inner text</div>
This div background color is #F5DC80.
.myBorderColor { border: 1px solid #F5DC80; }
<div style="border:3px solid #F5DC80">Div</div>
This div border color is #F5DC80.
.myOpacity80 { color: #F5DC80; opacity: 0.8; }
<p style="color:#F5DC80;opacity:0.8;">80%</p>
Text with #F5DC80 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F5DC80;}
<p style="text-shadow: 3px 3px 1px #F5DC80">Text here.</p>
This text has shadow with #F5DC80 color.
.textShadow {text-shadow: 3px 3px 1px #F5DC80, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F5DC80, 5px 5px 20px red">Text here.</p>
This text has shadow with #F5DC80 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F5DC80, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F5DC80, Direction=45, Strength=4)">Text</p>
This text has shadow with #F5DC80 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F5DC80; -webkit-box-shadow: 1px 1px 3px 2px #F5DC80; box-shadow: 1px 1px 3px 2px #F5DC80; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F5DC80; -webkit-box-shadow: 1px 1px 3px 2px #F5DC80; box-shadow:1px 1px 3px 2px #F5DC80;">
Div content here</div>
This text has color #F5DC80 on black background.
This text has color #F5DC80 on white background.
This text has black color on #F5DC80 background.
This text has white color on #F5DC80 background.