HEX: #EBD857
RGB: (235,216,87)
#EBD857 contains mainly red and green colors. Web safe color of #EBD857 is #FFCC66 (or #FC6).
#EBD857 color RGB value is (235,216,87).
RGB: (235,216,87) (92%,85%,34%)
R 235 of 255 = 92%
G 216 of 255 = 85%
B 87 of 255 = 34%
R + G + B ~ 70%. #EBD857 is quite light color.
R + G + B =
235 + 216 + 87 = 538 (100%)
R 235 of 538 ~ 43.68%
G 216 of 538 ~ 40.15%
B 87 of 538 ~ 16.17%
#EBD857 color CMYK value is (0,8,63,8).
CMYK: (0,8,63,8) C0M8Y63K8 (0%,8%,63%,8%) (0.00/0.08/0.63/0.08)
EB | D8 | 57 | |
---|---|---|---|
RGB | 235 | 216 | 87 |
HSL | 52° | 78.72% | 63.14% |
HSB/HSV | 52° | 62.98% | 92.16% |
CMYK | 0.00% | 8.09% | 62.98% |
7.84% |
HEX | EB | D8 | 57 |
Decimal | 235 | 216 | 87 |
Binary | 11101011 | 11011000 | 1010111 |
Octal | 353 | 330 | 127 |
Examples of css and html codes for elements with #EBD857 color. Also use rgb(235,216,87) instead hex code.
.myTextColor { color: #EBD857; }
<p style="color:#EBD857">This sample text font color is #EBD857.</p>
This text font color is #EBD857.
.myBgColor { background-color: #EBD857; }
<div style="background-color:#EBD857">Inner text</div>
This div background color is #EBD857.
.myBorderColor { border: 1px solid #EBD857; }
<div style="border:3px solid #EBD857">Div</div>
This div border color is #EBD857.
.myOpacity80 { color: #EBD857; opacity: 0.8; }
<p style="color:#EBD857;opacity:0.8;">80%</p>
Text with #EBD857 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EBD857;}
<p style="text-shadow: 3px 3px 1px #EBD857">Text here.</p>
This text has shadow with #EBD857 color.
.textShadow {text-shadow: 3px 3px 1px #EBD857, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EBD857, 5px 5px 20px red">Text here.</p>
This text has shadow with #EBD857 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EBD857, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EBD857, Direction=45, Strength=4)">Text</p>
This text has shadow with #EBD857 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EBD857; -webkit-box-shadow: 1px 1px 3px 2px #EBD857; box-shadow: 1px 1px 3px 2px #EBD857; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EBD857; -webkit-box-shadow: 1px 1px 3px 2px #EBD857; box-shadow:1px 1px 3px 2px #EBD857;">
Div content here</div>
This text has color #EBD857 on black background.
This text has color #EBD857 on white background.
This text has black color on #EBD857 background.
This text has white color on #EBD857 background.