HEX: #F0BD18
RGB: (240,189,24)
#F0BD18 contains mainly red and green colors. Web safe color of #F0BD18 is #FFCC00 (or #FC0).
#F0BD18 color RGB value is (240,189,24).
RGB: (240,189,24) (94%,74%,9%)
R 240 of 255 = 94%
G 189 of 255 = 74%
B 24 of 255 = 9%
R + G + B ~ 59%. #F0BD18 is middle color (not dark and not light).
R + G + B =
240 + 189 + 24 = 453 (100%)
R 240 of 453 ~ 52.98%
G 189 of 453 ~ 41.72%
B 24 of 453 ~ 5.3%
#F0BD18 color CMYK value is (0,21,90,6).
CMYK: (0,21,90,6) C0M21Y90K6 (0%,21%,90%,6%) (0.00/0.21/0.90/0.06)
F0 | BD | 18 | |
---|---|---|---|
RGB | 240 | 189 | 24 |
HSL | 46° | 87.80% | 51.76% |
HSB/HSV | 46° | 90.00% | 94.12% |
CMYK | 0.00% | 21.25% | 90.00% |
5.88% |
HEX | F0 | BD | 18 |
Decimal | 240 | 189 | 24 |
Binary | 11110000 | 10111101 | 11000 |
Octal | 360 | 275 | 30 |
Examples of css and html codes for elements with #F0BD18 color. Also use rgb(240,189,24) instead hex code.
.myTextColor { color: #F0BD18; }
<p style="color:#F0BD18">This sample text font color is #F0BD18.</p>
This text font color is #F0BD18.
.myBgColor { background-color: #F0BD18; }
<div style="background-color:#F0BD18">Inner text</div>
This div background color is #F0BD18.
.myBorderColor { border: 1px solid #F0BD18; }
<div style="border:3px solid #F0BD18">Div</div>
This div border color is #F0BD18.
.myOpacity80 { color: #F0BD18; opacity: 0.8; }
<p style="color:#F0BD18;opacity:0.8;">80%</p>
Text with #F0BD18 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0BD18;}
<p style="text-shadow: 3px 3px 1px #F0BD18">Text here.</p>
This text has shadow with #F0BD18 color.
.textShadow {text-shadow: 3px 3px 1px #F0BD18, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0BD18, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0BD18 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0BD18, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0BD18, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0BD18 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0BD18; -webkit-box-shadow: 1px 1px 3px 2px #F0BD18; box-shadow: 1px 1px 3px 2px #F0BD18; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0BD18; -webkit-box-shadow: 1px 1px 3px 2px #F0BD18; box-shadow:1px 1px 3px 2px #F0BD18;">
Div content here</div>
This text has color #F0BD18 on black background.
This text has color #F0BD18 on white background.
This text has black color on #F0BD18 background.
This text has white color on #F0BD18 background.