HEX: #B4A25A
RGB: (180,162,90)
#B4A25A contains mainly red and green colors. Web safe color of #B4A25A is #CC9966 (or #C96).
#B4A25A color RGB value is (180,162,90).
RGB: (180,162,90) (71%,64%,35%)
R 180 of 255 = 71%
G 162 of 255 = 64%
B 90 of 255 = 35%
R + G + B ~ 57%. #B4A25A is middle color (not dark and not light).
R + G + B =
180 + 162 + 90 = 432 (100%)
R 180 of 432 ~ 41.67%
G 162 of 432 ~ 37.5%
B 90 of 432 ~ 20.83%
#B4A25A color CMYK value is (0,10,50,29).
CMYK: (0,10,50,29) C0M10Y50K29 (0%,10%,50%,29%) (0.00/0.10/0.50/0.29)
B4 | A2 | 5A | |
---|---|---|---|
RGB | 180 | 162 | 90 |
HSL | 48° | 37.50% | 52.94% |
HSB/HSV | 48° | 50.00% | 70.59% |
CMYK | 0.00% | 10.00% | 50.00% |
29.41% |
HEX | B4 | A2 | 5A |
Decimal | 180 | 162 | 90 |
Binary | 10110100 | 10100010 | 1011010 |
Octal | 264 | 242 | 132 |
Examples of css and html codes for elements with #B4A25A color. Also use rgb(180,162,90) instead hex code.
.myTextColor { color: #B4A25A; }
<p style="color:#B4A25A">This sample text font color is #B4A25A.</p>
This text font color is #B4A25A.
.myBgColor { background-color: #B4A25A; }
<div style="background-color:#B4A25A">Inner text</div>
This div background color is #B4A25A.
.myBorderColor { border: 1px solid #B4A25A; }
<div style="border:3px solid #B4A25A">Div</div>
This div border color is #B4A25A.
.myOpacity80 { color: #B4A25A; opacity: 0.8; }
<p style="color:#B4A25A;opacity:0.8;">80%</p>
Text with #B4A25A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A25A;}
<p style="text-shadow: 3px 3px 1px #B4A25A">Text here.</p>
This text has shadow with #B4A25A color.
.textShadow {text-shadow: 3px 3px 1px #B4A25A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A25A, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A25A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A25A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A25A, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A25A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A25A; -webkit-box-shadow: 1px 1px 3px 2px #B4A25A; box-shadow: 1px 1px 3px 2px #B4A25A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A25A; -webkit-box-shadow: 1px 1px 3px 2px #B4A25A; box-shadow:1px 1px 3px 2px #B4A25A;">
Div content here</div>
This text has color #B4A25A on black background.
This text has color #B4A25A on white background.
This text has black color on #B4A25A background.
This text has white color on #B4A25A background.