HEX: #B5AE31
RGB: (181,174,49)
#B5AE31 contains mainly red and green colors. Web safe color of #B5AE31 is #CC9933 (or #C93).
#B5AE31 color RGB value is (181,174,49).
RGB: (181,174,49) (71%,68%,19%)
R 181 of 255 = 71%
G 174 of 255 = 68%
B 49 of 255 = 19%
R + G + B ~ 53%. #B5AE31 is middle color (not dark and not light).
R + G + B =
181 + 174 + 49 = 404 (100%)
R 181 of 404 ~ 44.8%
G 174 of 404 ~ 43.07%
B 49 of 404 ~ 12.13%
#B5AE31 color CMYK value is (0,4,73,29).
CMYK: (0,4,73,29) C0M4Y73K29 (0%,4%,73%,29%) (0.00/0.04/0.73/0.29)
B5 | AE | 31 | |
---|---|---|---|
RGB | 181 | 174 | 49 |
HSL | 57° | 57.39% | 45.10% |
HSB/HSV | 57° | 72.93% | 70.98% |
CMYK | 0.00% | 3.87% | 72.93% |
29.02% |
HEX | B5 | AE | 31 |
Decimal | 181 | 174 | 49 |
Binary | 10110101 | 10101110 | 110001 |
Octal | 265 | 256 | 61 |
Examples of css and html codes for elements with #B5AE31 color. Also use rgb(181,174,49) instead hex code.
.myTextColor { color: #B5AE31; }
<p style="color:#B5AE31">This sample text font color is #B5AE31.</p>
This text font color is #B5AE31.
.myBgColor { background-color: #B5AE31; }
<div style="background-color:#B5AE31">Inner text</div>
This div background color is #B5AE31.
.myBorderColor { border: 1px solid #B5AE31; }
<div style="border:3px solid #B5AE31">Div</div>
This div border color is #B5AE31.
.myOpacity80 { color: #B5AE31; opacity: 0.8; }
<p style="color:#B5AE31;opacity:0.8;">80%</p>
Text with #B5AE31 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5AE31;}
<p style="text-shadow: 3px 3px 1px #B5AE31">Text here.</p>
This text has shadow with #B5AE31 color.
.textShadow {text-shadow: 3px 3px 1px #B5AE31, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5AE31, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5AE31 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5AE31, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5AE31, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5AE31 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5AE31; -webkit-box-shadow: 1px 1px 3px 2px #B5AE31; box-shadow: 1px 1px 3px 2px #B5AE31; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5AE31; -webkit-box-shadow: 1px 1px 3px 2px #B5AE31; box-shadow:1px 1px 3px 2px #B5AE31;">
Div content here</div>
This text has color #B5AE31 on black background.
This text has color #B5AE31 on white background.
This text has black color on #B5AE31 background.
This text has white color on #B5AE31 background.