HEX: #DEA52E
RGB: (222,165,46)
#DEA52E contains mainly red and green colors. Web safe color of #DEA52E is #CC9933 (or #C93).
#DEA52E color RGB value is (222,165,46).
RGB: (222,165,46) (87%,65%,18%)
R 222 of 255 = 87%
G 165 of 255 = 65%
B 46 of 255 = 18%
R + G + B ~ 57%. #DEA52E is middle color (not dark and not light).
R + G + B =
222 + 165 + 46 = 433 (100%)
R 222 of 433 ~ 51.27%
G 165 of 433 ~ 38.11%
B 46 of 433 ~ 10.62%
#DEA52E color CMYK value is (0,26,79,13).
CMYK: (0,26,79,13) C0M26Y79K13 (0%,26%,79%,13%) (0.00/0.26/0.79/0.13)
DE | A5 | 2E | |
---|---|---|---|
RGB | 222 | 165 | 46 |
HSL | 41° | 72.73% | 52.55% |
HSB/HSV | 41° | 79.28% | 87.06% |
CMYK | 0.00% | 25.68% | 79.28% |
12.94% |
HEX | DE | A5 | 2E |
Decimal | 222 | 165 | 46 |
Binary | 11011110 | 10100101 | 101110 |
Octal | 336 | 245 | 56 |
Examples of css and html codes for elements with #DEA52E color. Also use rgb(222,165,46) instead hex code.
.myTextColor { color: #DEA52E; }
<p style="color:#DEA52E">This sample text font color is #DEA52E.</p>
This text font color is #DEA52E.
.myBgColor { background-color: #DEA52E; }
<div style="background-color:#DEA52E">Inner text</div>
This div background color is #DEA52E.
.myBorderColor { border: 1px solid #DEA52E; }
<div style="border:3px solid #DEA52E">Div</div>
This div border color is #DEA52E.
.myOpacity80 { color: #DEA52E; opacity: 0.8; }
<p style="color:#DEA52E;opacity:0.8;">80%</p>
Text with #DEA52E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEA52E;}
<p style="text-shadow: 3px 3px 1px #DEA52E">Text here.</p>
This text has shadow with #DEA52E color.
.textShadow {text-shadow: 3px 3px 1px #DEA52E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEA52E, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEA52E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEA52E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEA52E, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEA52E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEA52E; -webkit-box-shadow: 1px 1px 3px 2px #DEA52E; box-shadow: 1px 1px 3px 2px #DEA52E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEA52E; -webkit-box-shadow: 1px 1px 3px 2px #DEA52E; box-shadow:1px 1px 3px 2px #DEA52E;">
Div content here</div>
This text has color #DEA52E on black background.
This text has color #DEA52E on white background.
This text has black color on #DEA52E background.
This text has white color on #DEA52E background.