HEX: #DFB531
RGB: (223,181,49)
#DFB531 contains mainly red and green colors. Web safe color of #DFB531 is #CCCC33 (or #CC3).
#DFB531 color RGB value is (223,181,49).
RGB: (223,181,49) (87%,71%,19%)
R 223 of 255 = 87%
G 181 of 255 = 71%
B 49 of 255 = 19%
R + G + B ~ 59%. #DFB531 is middle color (not dark and not light).
R + G + B =
223 + 181 + 49 = 453 (100%)
R 223 of 453 ~ 49.23%
G 181 of 453 ~ 39.96%
B 49 of 453 ~ 10.82%
#DFB531 color CMYK value is (0,19,78,13).
CMYK: (0,19,78,13) C0M19Y78K13 (0%,19%,78%,13%) (0.00/0.19/0.78/0.13)
DF | B5 | 31 | |
---|---|---|---|
RGB | 223 | 181 | 49 |
HSL | 46° | 73.11% | 53.33% |
HSB/HSV | 46° | 78.03% | 87.45% |
CMYK | 0.00% | 18.83% | 78.03% |
12.55% |
HEX | DF | B5 | 31 |
Decimal | 223 | 181 | 49 |
Binary | 11011111 | 10110101 | 110001 |
Octal | 337 | 265 | 61 |
Examples of css and html codes for elements with #DFB531 color. Also use rgb(223,181,49) instead hex code.
.myTextColor { color: #DFB531; }
<p style="color:#DFB531">This sample text font color is #DFB531.</p>
This text font color is #DFB531.
.myBgColor { background-color: #DFB531; }
<div style="background-color:#DFB531">Inner text</div>
This div background color is #DFB531.
.myBorderColor { border: 1px solid #DFB531; }
<div style="border:3px solid #DFB531">Div</div>
This div border color is #DFB531.
.myOpacity80 { color: #DFB531; opacity: 0.8; }
<p style="color:#DFB531;opacity:0.8;">80%</p>
Text with #DFB531 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DFB531;}
<p style="text-shadow: 3px 3px 1px #DFB531">Text here.</p>
This text has shadow with #DFB531 color.
.textShadow {text-shadow: 3px 3px 1px #DFB531, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DFB531, 5px 5px 20px red">Text here.</p>
This text has shadow with #DFB531 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DFB531, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DFB531, Direction=45, Strength=4)">Text</p>
This text has shadow with #DFB531 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DFB531; -webkit-box-shadow: 1px 1px 3px 2px #DFB531; box-shadow: 1px 1px 3px 2px #DFB531; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DFB531; -webkit-box-shadow: 1px 1px 3px 2px #DFB531; box-shadow:1px 1px 3px 2px #DFB531;">
Div content here</div>
This text has color #DFB531 on black background.
This text has color #DFB531 on white background.
This text has black color on #DFB531 background.
This text has white color on #DFB531 background.