HEX: #B4971A
RGB: (180,151,26)
#B4971A contains mainly red and green colors. Web safe color of #B4971A is #CC9900 (or #C90).
#B4971A color RGB value is (180,151,26).
RGB: (180,151,26) (71%,59%,10%)
R 180 of 255 = 71%
G 151 of 255 = 59%
B 26 of 255 = 10%
R + G + B ~ 47%. #B4971A is middle color (not dark and not light).
R + G + B =
180 + 151 + 26 = 357 (100%)
R 180 of 357 ~ 50.42%
G 151 of 357 ~ 42.3%
B 26 of 357 ~ 7.28%
#B4971A color CMYK value is (0,16,86,29).
CMYK: (0,16,86,29) C0M16Y86K29 (0%,16%,86%,29%) (0.00/0.16/0.86/0.29)
B4 | 97 | 1A | |
---|---|---|---|
RGB | 180 | 151 | 26 |
HSL | 49° | 74.76% | 40.39% |
HSB/HSV | 49° | 85.56% | 70.59% |
CMYK | 0.00% | 16.11% | 85.56% |
29.41% |
HEX | B4 | 97 | 1A |
Decimal | 180 | 151 | 26 |
Binary | 10110100 | 10010111 | 11010 |
Octal | 264 | 227 | 32 |
Examples of css and html codes for elements with #B4971A color. Also use rgb(180,151,26) instead hex code.
.myTextColor { color: #B4971A; }
<p style="color:#B4971A">This sample text font color is #B4971A.</p>
This text font color is #B4971A.
.myBgColor { background-color: #B4971A; }
<div style="background-color:#B4971A">Inner text</div>
This div background color is #B4971A.
.myBorderColor { border: 1px solid #B4971A; }
<div style="border:3px solid #B4971A">Div</div>
This div border color is #B4971A.
.myOpacity80 { color: #B4971A; opacity: 0.8; }
<p style="color:#B4971A;opacity:0.8;">80%</p>
Text with #B4971A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4971A;}
<p style="text-shadow: 3px 3px 1px #B4971A">Text here.</p>
This text has shadow with #B4971A color.
.textShadow {text-shadow: 3px 3px 1px #B4971A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4971A, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4971A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4971A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4971A, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4971A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4971A; -webkit-box-shadow: 1px 1px 3px 2px #B4971A; box-shadow: 1px 1px 3px 2px #B4971A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4971A; -webkit-box-shadow: 1px 1px 3px 2px #B4971A; box-shadow:1px 1px 3px 2px #B4971A;">
Div content here</div>
This text has color #B4971A on black background.
This text has color #B4971A on white background.
This text has black color on #B4971A background.
This text has white color on #B4971A background.