HEX: #BD7A15
RGB: (189,122,21)
#BD7A15 contains mainly red color. Web safe color of #BD7A15 is #CC6600 (or #C60).
#BD7A15 color RGB value is (189,122,21).
RGB: (189,122,21) (74%,48%,8%)
R 189 of 255 = 74%
G 122 of 255 = 48%
B 21 of 255 = 8%
R + G + B ~ 43%. #BD7A15 is middle color (not dark and not light).
R + G + B =
189 + 122 + 21 = 332 (100%)
R 189 of 332 ~ 56.93%
G 122 of 332 ~ 36.75%
B 21 of 332 ~ 6.33%
#BD7A15 color CMYK value is (0,35,89,26).
CMYK: (0,35,89,26) C0M35Y89K26 (0%,35%,89%,26%) (0.00/0.35/0.89/0.26)
BD | 7A | 15 | |
---|---|---|---|
RGB | 189 | 122 | 21 |
HSL | 36° | 80.00% | 41.18% |
HSB/HSV | 36° | 88.89% | 74.12% |
CMYK | 0.00% | 35.45% | 88.89% |
25.88% |
HEX | BD | 7A | 15 |
Decimal | 189 | 122 | 21 |
Binary | 10111101 | 1111010 | 10101 |
Octal | 275 | 172 | 25 |
Examples of css and html codes for elements with #BD7A15 color. Also use rgb(189,122,21) instead hex code.
.myTextColor { color: #BD7A15; }
<p style="color:#BD7A15">This sample text font color is #BD7A15.</p>
This text font color is #BD7A15.
.myBgColor { background-color: #BD7A15; }
<div style="background-color:#BD7A15">Inner text</div>
This div background color is #BD7A15.
.myBorderColor { border: 1px solid #BD7A15; }
<div style="border:3px solid #BD7A15">Div</div>
This div border color is #BD7A15.
.myOpacity80 { color: #BD7A15; opacity: 0.8; }
<p style="color:#BD7A15;opacity:0.8;">80%</p>
Text with #BD7A15 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD7A15;}
<p style="text-shadow: 3px 3px 1px #BD7A15">Text here.</p>
This text has shadow with #BD7A15 color.
.textShadow {text-shadow: 3px 3px 1px #BD7A15, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD7A15, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD7A15 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD7A15, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD7A15, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD7A15 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD7A15; -webkit-box-shadow: 1px 1px 3px 2px #BD7A15; box-shadow: 1px 1px 3px 2px #BD7A15; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD7A15; -webkit-box-shadow: 1px 1px 3px 2px #BD7A15; box-shadow:1px 1px 3px 2px #BD7A15;">
Div content here</div>
This text has color #BD7A15 on black background.
This text has color #BD7A15 on white background.
This text has black color on #BD7A15 background.
This text has white color on #BD7A15 background.