HEX: #EFB81F
RGB: (239,184,31)
#EFB81F contains mainly red and green colors. Web safe color of #EFB81F is #FFCC33 (or #FC3).
#EFB81F color RGB value is (239,184,31).
RGB: (239,184,31) (94%,72%,12%)
R 239 of 255 = 94%
G 184 of 255 = 72%
B 31 of 255 = 12%
R + G + B ~ 59%. #EFB81F is middle color (not dark and not light).
R + G + B =
239 + 184 + 31 = 454 (100%)
R 239 of 454 ~ 52.64%
G 184 of 454 ~ 40.53%
B 31 of 454 ~ 6.83%
#EFB81F color CMYK value is (0,23,87,6).
CMYK: (0,23,87,6) C0M23Y87K6 (0%,23%,87%,6%) (0.00/0.23/0.87/0.06)
EF | B8 | 1F | |
---|---|---|---|
RGB | 239 | 184 | 31 |
HSL | 44° | 86.67% | 52.94% |
HSB/HSV | 44° | 87.03% | 93.73% |
CMYK | 0.00% | 23.01% | 87.03% |
6.27% |
HEX | EF | B8 | 1F |
Decimal | 239 | 184 | 31 |
Binary | 11101111 | 10111000 | 11111 |
Octal | 357 | 270 | 37 |
Examples of css and html codes for elements with #EFB81F color. Also use rgb(239,184,31) instead hex code.
.myTextColor { color: #EFB81F; }
<p style="color:#EFB81F">This sample text font color is #EFB81F.</p>
This text font color is #EFB81F.
.myBgColor { background-color: #EFB81F; }
<div style="background-color:#EFB81F">Inner text</div>
This div background color is #EFB81F.
.myBorderColor { border: 1px solid #EFB81F; }
<div style="border:3px solid #EFB81F">Div</div>
This div border color is #EFB81F.
.myOpacity80 { color: #EFB81F; opacity: 0.8; }
<p style="color:#EFB81F;opacity:0.8;">80%</p>
Text with #EFB81F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EFB81F;}
<p style="text-shadow: 3px 3px 1px #EFB81F">Text here.</p>
This text has shadow with #EFB81F color.
.textShadow {text-shadow: 3px 3px 1px #EFB81F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EFB81F, 5px 5px 20px red">Text here.</p>
This text has shadow with #EFB81F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EFB81F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EFB81F, Direction=45, Strength=4)">Text</p>
This text has shadow with #EFB81F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EFB81F; -webkit-box-shadow: 1px 1px 3px 2px #EFB81F; box-shadow: 1px 1px 3px 2px #EFB81F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EFB81F; -webkit-box-shadow: 1px 1px 3px 2px #EFB81F; box-shadow:1px 1px 3px 2px #EFB81F;">
Div content here</div>
This text has color #EFB81F on black background.
This text has color #EFB81F on white background.
This text has black color on #EFB81F background.
This text has white color on #EFB81F background.