HEX: #EDDD2A
RGB: (237,221,42)
#EDDD2A contains mainly red and green colors. Web safe color of #EDDD2A is #FFCC33 (or #FC3).
#EDDD2A color RGB value is (237,221,42).
RGB: (237,221,42) (93%,87%,16%)
R 237 of 255 = 93%
G 221 of 255 = 87%
B 42 of 255 = 16%
R + G + B ~ 65%. #EDDD2A is quite light color.
R + G + B =
237 + 221 + 42 = 500 (100%)
R 237 of 500 ~ 47.4%
G 221 of 500 ~ 44.2%
B 42 of 500 ~ 8.4%
#EDDD2A color CMYK value is (0,7,82,7).
CMYK: (0,7,82,7) C0M7Y82K7 (0%,7%,82%,7%) (0.00/0.07/0.82/0.07)
ED | DD | 2A | |
---|---|---|---|
RGB | 237 | 221 | 42 |
HSL | 55° | 84.42% | 54.71% |
HSB/HSV | 55° | 82.28% | 92.94% |
CMYK | 0.00% | 6.75% | 82.28% |
7.06% |
HEX | ED | DD | 2A |
Decimal | 237 | 221 | 42 |
Binary | 11101101 | 11011101 | 101010 |
Octal | 355 | 335 | 52 |
Examples of css and html codes for elements with #EDDD2A color. Also use rgb(237,221,42) instead hex code.
.myTextColor { color: #EDDD2A; }
<p style="color:#EDDD2A">This sample text font color is #EDDD2A.</p>
This text font color is #EDDD2A.
.myBgColor { background-color: #EDDD2A; }
<div style="background-color:#EDDD2A">Inner text</div>
This div background color is #EDDD2A.
.myBorderColor { border: 1px solid #EDDD2A; }
<div style="border:3px solid #EDDD2A">Div</div>
This div border color is #EDDD2A.
.myOpacity80 { color: #EDDD2A; opacity: 0.8; }
<p style="color:#EDDD2A;opacity:0.8;">80%</p>
Text with #EDDD2A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EDDD2A;}
<p style="text-shadow: 3px 3px 1px #EDDD2A">Text here.</p>
This text has shadow with #EDDD2A color.
.textShadow {text-shadow: 3px 3px 1px #EDDD2A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EDDD2A, 5px 5px 20px red">Text here.</p>
This text has shadow with #EDDD2A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EDDD2A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EDDD2A, Direction=45, Strength=4)">Text</p>
This text has shadow with #EDDD2A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EDDD2A; -webkit-box-shadow: 1px 1px 3px 2px #EDDD2A; box-shadow: 1px 1px 3px 2px #EDDD2A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EDDD2A; -webkit-box-shadow: 1px 1px 3px 2px #EDDD2A; box-shadow:1px 1px 3px 2px #EDDD2A;">
Div content here</div>
This text has color #EDDD2A on black background.
This text has color #EDDD2A on white background.
This text has black color on #EDDD2A background.
This text has white color on #EDDD2A background.