HEX: #F5DF18
RGB: (245,223,24)
#F5DF18 contains mainly red and green colors. Web safe color of #F5DF18 is #FFCC00 (or #FC0).
#F5DF18 color RGB value is (245,223,24).
RGB: (245,223,24) (96%,87%,9%)
R 245 of 255 = 96%
G 223 of 255 = 87%
B 24 of 255 = 9%
R + G + B ~ 64%. #F5DF18 is quite light color.
R + G + B =
245 + 223 + 24 = 492 (100%)
R 245 of 492 ~ 49.8%
G 223 of 492 ~ 45.33%
B 24 of 492 ~ 4.88%
#F5DF18 color CMYK value is (0,9,90,4).
CMYK: (0,9,90,4) C0M9Y90K4 (0%,9%,90%,4%) (0.00/0.09/0.90/0.04)
F5 | DF | 18 | |
---|---|---|---|
RGB | 245 | 223 | 24 |
HSL | 54° | 91.70% | 52.75% |
HSB/HSV | 54° | 90.20% | 96.08% |
CMYK | 0.00% | 8.98% | 90.20% |
3.92% |
HEX | F5 | DF | 18 |
Decimal | 245 | 223 | 24 |
Binary | 11110101 | 11011111 | 11000 |
Octal | 365 | 337 | 30 |
Examples of css and html codes for elements with #F5DF18 color. Also use rgb(245,223,24) instead hex code.
.myTextColor { color: #F5DF18; }
<p style="color:#F5DF18">This sample text font color is #F5DF18.</p>
This text font color is #F5DF18.
.myBgColor { background-color: #F5DF18; }
<div style="background-color:#F5DF18">Inner text</div>
This div background color is #F5DF18.
.myBorderColor { border: 1px solid #F5DF18; }
<div style="border:3px solid #F5DF18">Div</div>
This div border color is #F5DF18.
.myOpacity80 { color: #F5DF18; opacity: 0.8; }
<p style="color:#F5DF18;opacity:0.8;">80%</p>
Text with #F5DF18 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F5DF18;}
<p style="text-shadow: 3px 3px 1px #F5DF18">Text here.</p>
This text has shadow with #F5DF18 color.
.textShadow {text-shadow: 3px 3px 1px #F5DF18, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F5DF18, 5px 5px 20px red">Text here.</p>
This text has shadow with #F5DF18 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F5DF18, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F5DF18, Direction=45, Strength=4)">Text</p>
This text has shadow with #F5DF18 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F5DF18; -webkit-box-shadow: 1px 1px 3px 2px #F5DF18; box-shadow: 1px 1px 3px 2px #F5DF18; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F5DF18; -webkit-box-shadow: 1px 1px 3px 2px #F5DF18; box-shadow:1px 1px 3px 2px #F5DF18;">
Div content here</div>
This text has color #F5DF18 on black background.
This text has color #F5DF18 on white background.
This text has black color on #F5DF18 background.
This text has white color on #F5DF18 background.