HEX: #EBA21F
RGB: (235,162,31)
#EBA21F contains mainly red color. Web safe color of #EBA21F is #FF9933 (or #F93).
#EBA21F color RGB value is (235,162,31).
RGB: (235,162,31) (92%,64%,12%)
R 235 of 255 = 92%
G 162 of 255 = 64%
B 31 of 255 = 12%
R + G + B ~ 56%. #EBA21F is middle color (not dark and not light).
R + G + B =
235 + 162 + 31 = 428 (100%)
R 235 of 428 ~ 54.91%
G 162 of 428 ~ 37.85%
B 31 of 428 ~ 7.24%
#EBA21F color CMYK value is (0,31,87,8).
CMYK: (0,31,87,8) C0M31Y87K8 (0%,31%,87%,8%) (0.00/0.31/0.87/0.08)
EB | A2 | 1F | |
---|---|---|---|
RGB | 235 | 162 | 31 |
HSL | 39° | 83.61% | 52.16% |
HSB/HSV | 39° | 86.81% | 92.16% |
CMYK | 0.00% | 31.06% | 86.81% |
7.84% |
HEX | EB | A2 | 1F |
Decimal | 235 | 162 | 31 |
Binary | 11101011 | 10100010 | 11111 |
Octal | 353 | 242 | 37 |
Examples of css and html codes for elements with #EBA21F color. Also use rgb(235,162,31) instead hex code.
.myTextColor { color: #EBA21F; }
<p style="color:#EBA21F">This sample text font color is #EBA21F.</p>
This text font color is #EBA21F.
.myBgColor { background-color: #EBA21F; }
<div style="background-color:#EBA21F">Inner text</div>
This div background color is #EBA21F.
.myBorderColor { border: 1px solid #EBA21F; }
<div style="border:3px solid #EBA21F">Div</div>
This div border color is #EBA21F.
.myOpacity80 { color: #EBA21F; opacity: 0.8; }
<p style="color:#EBA21F;opacity:0.8;">80%</p>
Text with #EBA21F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EBA21F;}
<p style="text-shadow: 3px 3px 1px #EBA21F">Text here.</p>
This text has shadow with #EBA21F color.
.textShadow {text-shadow: 3px 3px 1px #EBA21F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EBA21F, 5px 5px 20px red">Text here.</p>
This text has shadow with #EBA21F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EBA21F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EBA21F, Direction=45, Strength=4)">Text</p>
This text has shadow with #EBA21F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EBA21F; -webkit-box-shadow: 1px 1px 3px 2px #EBA21F; box-shadow: 1px 1px 3px 2px #EBA21F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EBA21F; -webkit-box-shadow: 1px 1px 3px 2px #EBA21F; box-shadow:1px 1px 3px 2px #EBA21F;">
Div content here</div>
This text has color #EBA21F on black background.
This text has color #EBA21F on white background.
This text has black color on #EBA21F background.
This text has white color on #EBA21F background.