HEX: #B4AF33
RGB: (180,175,51)
#B4AF33 contains mainly red and green colors. Web safe color of #B4AF33 is #CC9933 (or #C93).
#B4AF33 color RGB value is (180,175,51).
RGB: (180,175,51) (71%,69%,20%)
R 180 of 255 = 71%
G 175 of 255 = 69%
B 51 of 255 = 20%
R + G + B ~ 53%. #B4AF33 is middle color (not dark and not light).
R + G + B =
180 + 175 + 51 = 406 (100%)
R 180 of 406 ~ 44.33%
G 175 of 406 ~ 43.1%
B 51 of 406 ~ 12.56%
#B4AF33 color CMYK value is (0,3,72,29).
CMYK: (0,3,72,29) C0M3Y72K29 (0%,3%,72%,29%) (0.00/0.03/0.72/0.29)
B4 | AF | 33 | |
---|---|---|---|
RGB | 180 | 175 | 51 |
HSL | 58° | 55.84% | 45.29% |
HSB/HSV | 58° | 71.67% | 70.59% |
CMYK | 0.00% | 2.78% | 71.67% |
29.41% |
HEX | B4 | AF | 33 |
Decimal | 180 | 175 | 51 |
Binary | 10110100 | 10101111 | 110011 |
Octal | 264 | 257 | 63 |
Examples of css and html codes for elements with #B4AF33 color. Also use rgb(180,175,51) instead hex code.
.myTextColor { color: #B4AF33; }
<p style="color:#B4AF33">This sample text font color is #B4AF33.</p>
This text font color is #B4AF33.
.myBgColor { background-color: #B4AF33; }
<div style="background-color:#B4AF33">Inner text</div>
This div background color is #B4AF33.
.myBorderColor { border: 1px solid #B4AF33; }
<div style="border:3px solid #B4AF33">Div</div>
This div border color is #B4AF33.
.myOpacity80 { color: #B4AF33; opacity: 0.8; }
<p style="color:#B4AF33;opacity:0.8;">80%</p>
Text with #B4AF33 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4AF33;}
<p style="text-shadow: 3px 3px 1px #B4AF33">Text here.</p>
This text has shadow with #B4AF33 color.
.textShadow {text-shadow: 3px 3px 1px #B4AF33, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4AF33, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4AF33 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4AF33, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4AF33, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4AF33 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4AF33; -webkit-box-shadow: 1px 1px 3px 2px #B4AF33; box-shadow: 1px 1px 3px 2px #B4AF33; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4AF33; -webkit-box-shadow: 1px 1px 3px 2px #B4AF33; box-shadow:1px 1px 3px 2px #B4AF33;">
Div content here</div>
This text has color #B4AF33 on black background.
This text has color #B4AF33 on white background.
This text has black color on #B4AF33 background.
This text has white color on #B4AF33 background.