HEX: #B97E1A
RGB: (185,126,26)
#B97E1A contains mainly red and green colors. Web safe color of #B97E1A is #CC6600 (or #C60).
#B97E1A color RGB value is (185,126,26).
RGB: (185,126,26) (73%,49%,10%)
R 185 of 255 = 73%
G 126 of 255 = 49%
B 26 of 255 = 10%
R + G + B ~ 44%. #B97E1A is middle color (not dark and not light).
R + G + B =
185 + 126 + 26 = 337 (100%)
R 185 of 337 ~ 54.9%
G 126 of 337 ~ 37.39%
B 26 of 337 ~ 7.72%
#B97E1A color CMYK value is (0,32,86,27).
CMYK: (0,32,86,27) C0M32Y86K27 (0%,32%,86%,27%) (0.00/0.32/0.86/0.27)
B9 | 7E | 1A | |
---|---|---|---|
RGB | 185 | 126 | 26 |
HSL | 38° | 75.36% | 41.37% |
HSB/HSV | 38° | 85.95% | 72.55% |
CMYK | 0.00% | 31.89% | 85.95% |
27.45% |
HEX | B9 | 7E | 1A |
Decimal | 185 | 126 | 26 |
Binary | 10111001 | 1111110 | 11010 |
Octal | 271 | 176 | 32 |
Examples of css and html codes for elements with #B97E1A color. Also use rgb(185,126,26) instead hex code.
.myTextColor { color: #B97E1A; }
<p style="color:#B97E1A">This sample text font color is #B97E1A.</p>
This text font color is #B97E1A.
.myBgColor { background-color: #B97E1A; }
<div style="background-color:#B97E1A">Inner text</div>
This div background color is #B97E1A.
.myBorderColor { border: 1px solid #B97E1A; }
<div style="border:3px solid #B97E1A">Div</div>
This div border color is #B97E1A.
.myOpacity80 { color: #B97E1A; opacity: 0.8; }
<p style="color:#B97E1A;opacity:0.8;">80%</p>
Text with #B97E1A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B97E1A;}
<p style="text-shadow: 3px 3px 1px #B97E1A">Text here.</p>
This text has shadow with #B97E1A color.
.textShadow {text-shadow: 3px 3px 1px #B97E1A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B97E1A, 5px 5px 20px red">Text here.</p>
This text has shadow with #B97E1A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B97E1A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B97E1A, Direction=45, Strength=4)">Text</p>
This text has shadow with #B97E1A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B97E1A; -webkit-box-shadow: 1px 1px 3px 2px #B97E1A; box-shadow: 1px 1px 3px 2px #B97E1A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B97E1A; -webkit-box-shadow: 1px 1px 3px 2px #B97E1A; box-shadow:1px 1px 3px 2px #B97E1A;">
Div content here</div>
This text has color #B97E1A on black background.
This text has color #B97E1A on white background.
This text has black color on #B97E1A background.
This text has white color on #B97E1A background.