HEX: #B5B250
RGB: (181,178,80)
#B5B250 contains mainly red and green colors. Web safe color of #B5B250 is #CC9966 (or #C96).
#B5B250 color RGB value is (181,178,80).
RGB: (181,178,80) (71%,70%,31%)
R 181 of 255 = 71%
G 178 of 255 = 70%
B 80 of 255 = 31%
R + G + B ~ 57%. #B5B250 is middle color (not dark and not light).
R + G + B =
181 + 178 + 80 = 439 (100%)
R 181 of 439 ~ 41.23%
G 178 of 439 ~ 40.55%
B 80 of 439 ~ 18.22%
#B5B250 color CMYK value is (0,2,56,29).
CMYK: (0,2,56,29) C0M2Y56K29 (0%,2%,56%,29%) (0.00/0.02/0.56/0.29)
B5 | B2 | 50 | |
---|---|---|---|
RGB | 181 | 178 | 80 |
HSL | 58° | 40.56% | 51.18% |
HSB/HSV | 58° | 55.80% | 70.98% |
CMYK | 0.00% | 1.66% | 55.80% |
29.02% |
HEX | B5 | B2 | 50 |
Decimal | 181 | 178 | 80 |
Binary | 10110101 | 10110010 | 1010000 |
Octal | 265 | 262 | 120 |
Examples of css and html codes for elements with #B5B250 color. Also use rgb(181,178,80) instead hex code.
.myTextColor { color: #B5B250; }
<p style="color:#B5B250">This sample text font color is #B5B250.</p>
This text font color is #B5B250.
.myBgColor { background-color: #B5B250; }
<div style="background-color:#B5B250">Inner text</div>
This div background color is #B5B250.
.myBorderColor { border: 1px solid #B5B250; }
<div style="border:3px solid #B5B250">Div</div>
This div border color is #B5B250.
.myOpacity80 { color: #B5B250; opacity: 0.8; }
<p style="color:#B5B250;opacity:0.8;">80%</p>
Text with #B5B250 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5B250;}
<p style="text-shadow: 3px 3px 1px #B5B250">Text here.</p>
This text has shadow with #B5B250 color.
.textShadow {text-shadow: 3px 3px 1px #B5B250, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5B250, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5B250 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5B250, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5B250, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5B250 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5B250; -webkit-box-shadow: 1px 1px 3px 2px #B5B250; box-shadow: 1px 1px 3px 2px #B5B250; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5B250; -webkit-box-shadow: 1px 1px 3px 2px #B5B250; box-shadow:1px 1px 3px 2px #B5B250;">
Div content here</div>
This text has color #B5B250 on black background.
This text has color #B5B250 on white background.
This text has black color on #B5B250 background.
This text has white color on #B5B250 background.