HEX: #F5F5DC
RGB: (245,245,220)
Color name is Beige. #F5F5DC contains red, green and blue colors in about the same proportion. Web safe color of #F5F5DC is #FFFFCC (or #FFC).
#F5F5DC color RGB value is (245,245,220).
RGB: (245,245,220) (96%,96%,86%)
R 245 of 255 = 96%
G 245 of 255 = 96%
B 220 of 255 = 86%
R + G + B ~ 93%. #F5F5DC is light color.
R + G + B =
245 + 245 + 220 = 710 (100%)
R 245 of 710 ~ 34.51%
G 245 of 710 ~ 34.51%
B 220 of 710 ~ 30.99%
#F5F5DC color CMYK value is (0,0,10,4).
CMYK: (0,0,10,4) C0M0Y10K4 (0%,0%,10%,4%) (0.00/0.00/0.10/0.04)
F5 | F5 | DC | |
---|---|---|---|
RGB | 245 | 245 | 220 |
HSL | 60° | 55.56% | 91.18% |
HSB/HSV | 60° | 10.20% | 96.08% |
CMYK | 0.00% | 0.00% | 10.20% |
3.92% |
HEX | F5 | F5 | DC |
Decimal | 245 | 245 | 220 |
Binary | 11110101 | 11110101 | 11011100 |
Octal | 365 | 365 | 334 |
Examples of css and html codes for elements with #F5F5DC color. Also use rgb(245,245,220) instead hex code.
.myTextColor { color: #F5F5DC; }
<p style="color:#F5F5DC">This sample text font color is #F5F5DC.</p>
This text font color is #F5F5DC.
.myBgColor { background-color: #F5F5DC; }
<div style="background-color:#F5F5DC">Inner text</div>
This div background color is #F5F5DC.
.myBorderColor { border: 1px solid #F5F5DC; }
<div style="border:3px solid #F5F5DC">Div</div>
This div border color is #F5F5DC.
.myOpacity80 { color: #F5F5DC; opacity: 0.8; }
<p style="color:#F5F5DC;opacity:0.8;">80%</p>
Text with #F5F5DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F5F5DC;}
<p style="text-shadow: 3px 3px 1px #F5F5DC">Text here.</p>
This text has shadow with #F5F5DC color.
.textShadow {text-shadow: 3px 3px 1px #F5F5DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F5F5DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F5F5DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F5F5DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F5F5DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F5F5DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F5F5DC; -webkit-box-shadow: 1px 1px 3px 2px #F5F5DC; box-shadow: 1px 1px 3px 2px #F5F5DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F5F5DC; -webkit-box-shadow: 1px 1px 3px 2px #F5F5DC; box-shadow:1px 1px 3px 2px #F5F5DC;">
Div content here</div>
This text has color #F5F5DC on black background.
This text has color #F5F5DC on white background.
This text has black color on #F5F5DC background.
This text has white color on #F5F5DC background.