HEX: #DAA520
RGB: (218,165,32)
Color name is Goldenrod. #DAA520 contains mainly red and green colors. Web safe color of #DAA520 is #CC9933 (or #C93).
#DAA520 color RGB value is (218,165,32).
RGB: (218,165,32) (85%,65%,13%)
R 218 of 255 = 85%
G 165 of 255 = 65%
B 32 of 255 = 13%
R + G + B ~ 54%. #DAA520 is middle color (not dark and not light).
R + G + B =
218 + 165 + 32 = 415 (100%)
R 218 of 415 ~ 52.53%
G 165 of 415 ~ 39.76%
B 32 of 415 ~ 7.71%
#DAA520 color CMYK value is (0,24,85,15).
CMYK: (0,24,85,15) C0M24Y85K15 (0%,24%,85%,15%) (0.00/0.24/0.85/0.15)
DA | A5 | 20 | |
---|---|---|---|
RGB | 218 | 165 | 32 |
HSL | 43° | 74.40% | 49.02% |
HSB/HSV | 43° | 85.32% | 85.49% |
CMYK | 0.00% | 24.31% | 85.32% |
14.51% |
HEX | DA | A5 | 20 |
Decimal | 218 | 165 | 32 |
Binary | 11011010 | 10100101 | 100000 |
Octal | 332 | 245 | 40 |
Examples of css and html codes for elements with #DAA520 color. Also use rgb(218,165,32) instead hex code.
.myTextColor { color: #DAA520; }
<p style="color:#DAA520">This sample text font color is #DAA520.</p>
This text font color is #DAA520.
.myBgColor { background-color: #DAA520; }
<div style="background-color:#DAA520">Inner text</div>
This div background color is #DAA520.
.myBorderColor { border: 1px solid #DAA520; }
<div style="border:3px solid #DAA520">Div</div>
This div border color is #DAA520.
.myOpacity80 { color: #DAA520; opacity: 0.8; }
<p style="color:#DAA520;opacity:0.8;">80%</p>
Text with #DAA520 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DAA520;}
<p style="text-shadow: 3px 3px 1px #DAA520">Text here.</p>
This text has shadow with #DAA520 color.
.textShadow {text-shadow: 3px 3px 1px #DAA520, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DAA520, 5px 5px 20px red">Text here.</p>
This text has shadow with #DAA520 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DAA520, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DAA520, Direction=45, Strength=4)">Text</p>
This text has shadow with #DAA520 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DAA520; -webkit-box-shadow: 1px 1px 3px 2px #DAA520; box-shadow: 1px 1px 3px 2px #DAA520; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DAA520; -webkit-box-shadow: 1px 1px 3px 2px #DAA520; box-shadow:1px 1px 3px 2px #DAA520;">
Div content here</div>
This text has color #DAA520 on black background.
This text has color #DAA520 on white background.
This text has black color on #DAA520 background.
This text has white color on #DAA520 background.