HEX: #B7B229
RGB: (183,178,41)
#B7B229 contains mainly red and green colors. Web safe color of #B7B229 is #CC9933 (or #C93).
#B7B229 color RGB value is (183,178,41).
RGB: (183,178,41) (72%,70%,16%)
R 183 of 255 = 72%
G 178 of 255 = 70%
B 41 of 255 = 16%
R + G + B ~ 53%. #B7B229 is middle color (not dark and not light).
R + G + B =
183 + 178 + 41 = 402 (100%)
R 183 of 402 ~ 45.52%
G 178 of 402 ~ 44.28%
B 41 of 402 ~ 10.2%
#B7B229 color CMYK value is (0,3,78,28).
CMYK: (0,3,78,28) C0M3Y78K28 (0%,3%,78%,28%) (0.00/0.03/0.78/0.28)
B7 | B2 | 29 | |
---|---|---|---|
RGB | 183 | 178 | 41 |
HSL | 58° | 63.39% | 43.92% |
HSB/HSV | 58° | 77.60% | 71.76% |
CMYK | 0.00% | 2.73% | 77.60% |
28.24% |
HEX | B7 | B2 | 29 |
Decimal | 183 | 178 | 41 |
Binary | 10110111 | 10110010 | 101001 |
Octal | 267 | 262 | 51 |
Examples of css and html codes for elements with #B7B229 color. Also use rgb(183,178,41) instead hex code.
.myTextColor { color: #B7B229; }
<p style="color:#B7B229">This sample text font color is #B7B229.</p>
This text font color is #B7B229.
.myBgColor { background-color: #B7B229; }
<div style="background-color:#B7B229">Inner text</div>
This div background color is #B7B229.
.myBorderColor { border: 1px solid #B7B229; }
<div style="border:3px solid #B7B229">Div</div>
This div border color is #B7B229.
.myOpacity80 { color: #B7B229; opacity: 0.8; }
<p style="color:#B7B229;opacity:0.8;">80%</p>
Text with #B7B229 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B7B229;}
<p style="text-shadow: 3px 3px 1px #B7B229">Text here.</p>
This text has shadow with #B7B229 color.
.textShadow {text-shadow: 3px 3px 1px #B7B229, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B7B229, 5px 5px 20px red">Text here.</p>
This text has shadow with #B7B229 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B7B229, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B7B229, Direction=45, Strength=4)">Text</p>
This text has shadow with #B7B229 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B7B229; -webkit-box-shadow: 1px 1px 3px 2px #B7B229; box-shadow: 1px 1px 3px 2px #B7B229; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B7B229; -webkit-box-shadow: 1px 1px 3px 2px #B7B229; box-shadow:1px 1px 3px 2px #B7B229;">
Div content here</div>
This text has color #B7B229 on black background.
This text has color #B7B229 on white background.
This text has black color on #B7B229 background.
This text has white color on #B7B229 background.