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