HEX: #D2B130
RGB: (210,177,48)
#D2B130 contains mainly red and green colors. Web safe color of #D2B130 is #CC9933 (or #C93).
#D2B130 color RGB value is (210,177,48).
RGB: (210,177,48) (82%,69%,19%)
R 210 of 255 = 82%
G 177 of 255 = 69%
B 48 of 255 = 19%
R + G + B ~ 57%. #D2B130 is middle color (not dark and not light).
R + G + B =
210 + 177 + 48 = 435 (100%)
R 210 of 435 ~ 48.28%
G 177 of 435 ~ 40.69%
B 48 of 435 ~ 11.03%
#D2B130 color CMYK value is (0,16,77,18).
CMYK: (0,16,77,18) C0M16Y77K18 (0%,16%,77%,18%) (0.00/0.16/0.77/0.18)
D2 | B1 | 30 | |
---|---|---|---|
RGB | 210 | 177 | 48 |
HSL | 48° | 64.29% | 50.59% |
HSB/HSV | 48° | 77.14% | 82.35% |
CMYK | 0.00% | 15.71% | 77.14% |
17.65% |
HEX | D2 | B1 | 30 |
Decimal | 210 | 177 | 48 |
Binary | 11010010 | 10110001 | 110000 |
Octal | 322 | 261 | 60 |
Examples of css and html codes for elements with #D2B130 color. Also use rgb(210,177,48) instead hex code.
.myTextColor { color: #D2B130; }
<p style="color:#D2B130">This sample text font color is #D2B130.</p>
This text font color is #D2B130.
.myBgColor { background-color: #D2B130; }
<div style="background-color:#D2B130">Inner text</div>
This div background color is #D2B130.
.myBorderColor { border: 1px solid #D2B130; }
<div style="border:3px solid #D2B130">Div</div>
This div border color is #D2B130.
.myOpacity80 { color: #D2B130; opacity: 0.8; }
<p style="color:#D2B130;opacity:0.8;">80%</p>
Text with #D2B130 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2B130;}
<p style="text-shadow: 3px 3px 1px #D2B130">Text here.</p>
This text has shadow with #D2B130 color.
.textShadow {text-shadow: 3px 3px 1px #D2B130, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2B130, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2B130 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2B130, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2B130, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2B130 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2B130; -webkit-box-shadow: 1px 1px 3px 2px #D2B130; box-shadow: 1px 1px 3px 2px #D2B130; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2B130; -webkit-box-shadow: 1px 1px 3px 2px #D2B130; box-shadow:1px 1px 3px 2px #D2B130;">
Div content here</div>
This text has color #D2B130 on black background.
This text has color #D2B130 on white background.
This text has black color on #D2B130 background.
This text has white color on #D2B130 background.