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