HEX: #B49804
RGB: (180,152,4)
#B49804 contains mainly red and green colors. Web safe color of #B49804 is #CC9900 (or #C90).
#B49804 color RGB value is (180,152,4).
RGB: (180,152,4) (71%,60%,2%)
R 180 of 255 = 71%
G 152 of 255 = 60%
B 4 of 255 = 2%
R + G + B ~ 44%. #B49804 is middle color (not dark and not light).
R + G + B =
180 + 152 + 4 = 336 (100%)
R 180 of 336 ~ 53.57%
G 152 of 336 ~ 45.24%
B 4 of 336 ~ 1.19%
#B49804 color CMYK value is (0,16,98,29).
CMYK: (0,16,98,29) C0M16Y98K29 (0%,16%,98%,29%) (0.00/0.16/0.98/0.29)
B4 | 98 | 04 | |
---|---|---|---|
RGB | 180 | 152 | 4 |
HSL | 50° | 95.65% | 36.08% |
HSB/HSV | 50° | 97.78% | 70.59% |
CMYK | 0.00% | 15.56% | 97.78% |
29.41% |
HEX | B4 | 98 | 04 |
Decimal | 180 | 152 | 4 |
Binary | 10110100 | 10011000 | 100 |
Octal | 264 | 230 | 4 |
Examples of css and html codes for elements with #B49804 color. Also use rgb(180,152,4) instead hex code.
.myTextColor { color: #B49804; }
<p style="color:#B49804">This sample text font color is #B49804.</p>
This text font color is #B49804.
.myBgColor { background-color: #B49804; }
<div style="background-color:#B49804">Inner text</div>
This div background color is #B49804.
.myBorderColor { border: 1px solid #B49804; }
<div style="border:3px solid #B49804">Div</div>
This div border color is #B49804.
.myOpacity80 { color: #B49804; opacity: 0.8; }
<p style="color:#B49804;opacity:0.8;">80%</p>
Text with #B49804 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B49804;}
<p style="text-shadow: 3px 3px 1px #B49804">Text here.</p>
This text has shadow with #B49804 color.
.textShadow {text-shadow: 3px 3px 1px #B49804, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B49804, 5px 5px 20px red">Text here.</p>
This text has shadow with #B49804 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B49804, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B49804, Direction=45, Strength=4)">Text</p>
This text has shadow with #B49804 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B49804; -webkit-box-shadow: 1px 1px 3px 2px #B49804; box-shadow: 1px 1px 3px 2px #B49804; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B49804; -webkit-box-shadow: 1px 1px 3px 2px #B49804; box-shadow:1px 1px 3px 2px #B49804;">
Div content here</div>
This text has color #B49804 on black background.
This text has color #B49804 on white background.
This text has black color on #B49804 background.
This text has white color on #B49804 background.