HEX: #B5AB52
RGB: (181,171,82)
#B5AB52 contains mainly red and green colors. Web safe color of #B5AB52 is #CC9966 (or #C96).
#B5AB52 color RGB value is (181,171,82).
RGB: (181,171,82) (71%,67%,32%)
R 181 of 255 = 71%
G 171 of 255 = 67%
B 82 of 255 = 32%
R + G + B ~ 57%. #B5AB52 is middle color (not dark and not light).
R + G + B =
181 + 171 + 82 = 434 (100%)
R 181 of 434 ~ 41.71%
G 171 of 434 ~ 39.4%
B 82 of 434 ~ 18.89%
#B5AB52 color CMYK value is (0,6,55,29).
CMYK: (0,6,55,29) C0M6Y55K29 (0%,6%,55%,29%) (0.00/0.06/0.55/0.29)
B5 | AB | 52 | |
---|---|---|---|
RGB | 181 | 171 | 82 |
HSL | 54° | 40.08% | 51.57% |
HSB/HSV | 54° | 54.70% | 70.98% |
CMYK | 0.00% | 5.52% | 54.70% |
29.02% |
HEX | B5 | AB | 52 |
Decimal | 181 | 171 | 82 |
Binary | 10110101 | 10101011 | 1010010 |
Octal | 265 | 253 | 122 |
Examples of css and html codes for elements with #B5AB52 color. Also use rgb(181,171,82) instead hex code.
.myTextColor { color: #B5AB52; }
<p style="color:#B5AB52">This sample text font color is #B5AB52.</p>
This text font color is #B5AB52.
.myBgColor { background-color: #B5AB52; }
<div style="background-color:#B5AB52">Inner text</div>
This div background color is #B5AB52.
.myBorderColor { border: 1px solid #B5AB52; }
<div style="border:3px solid #B5AB52">Div</div>
This div border color is #B5AB52.
.myOpacity80 { color: #B5AB52; opacity: 0.8; }
<p style="color:#B5AB52;opacity:0.8;">80%</p>
Text with #B5AB52 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5AB52;}
<p style="text-shadow: 3px 3px 1px #B5AB52">Text here.</p>
This text has shadow with #B5AB52 color.
.textShadow {text-shadow: 3px 3px 1px #B5AB52, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5AB52, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5AB52 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5AB52, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5AB52, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5AB52 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5AB52; -webkit-box-shadow: 1px 1px 3px 2px #B5AB52; box-shadow: 1px 1px 3px 2px #B5AB52; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5AB52; -webkit-box-shadow: 1px 1px 3px 2px #B5AB52; box-shadow:1px 1px 3px 2px #B5AB52;">
Div content here</div>
This text has color #B5AB52 on black background.
This text has color #B5AB52 on white background.
This text has black color on #B5AB52 background.
This text has white color on #B5AB52 background.