HEX: #B52E22
RGB: (181,46,34)
#B52E22 contains mainly red color. Web safe color of #B52E22 is #CC3333 (or #C33).
#B52E22 color RGB value is (181,46,34).
RGB: (181,46,34) (71%,18%,13%)
R 181 of 255 = 71%
G 46 of 255 = 18%
B 34 of 255 = 13%
R + G + B ~ 34%. #B52E22 is quite dark color.
R + G + B =
181 + 46 + 34 = 261 (100%)
R 181 of 261 ~ 69.35%
G 46 of 261 ~ 17.62%
B 34 of 261 ~ 13.03%
#B52E22 color CMYK value is (0,75,81,29).
CMYK: (0,75,81,29) C0M75Y81K29 (0%,75%,81%,29%) (0.00/0.75/0.81/0.29)
B5 | 2E | 22 | |
---|---|---|---|
RGB | 181 | 46 | 34 |
HSL | 5° | 68.37% | 42.16% |
HSB/HSV | 5° | 81.22% | 70.98% |
CMYK | 0.00% | 74.59% | 81.22% |
29.02% |
HEX | B5 | 2E | 22 |
Decimal | 181 | 46 | 34 |
Binary | 10110101 | 101110 | 100010 |
Octal | 265 | 56 | 42 |
Examples of css and html codes for elements with #B52E22 color. Also use rgb(181,46,34) instead hex code.
.myTextColor { color: #B52E22; }
<p style="color:#B52E22">This sample text font color is #B52E22.</p>
This text font color is #B52E22.
.myBgColor { background-color: #B52E22; }
<div style="background-color:#B52E22">Inner text</div>
This div background color is #B52E22.
.myBorderColor { border: 1px solid #B52E22; }
<div style="border:3px solid #B52E22">Div</div>
This div border color is #B52E22.
.myOpacity80 { color: #B52E22; opacity: 0.8; }
<p style="color:#B52E22;opacity:0.8;">80%</p>
Text with #B52E22 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B52E22;}
<p style="text-shadow: 3px 3px 1px #B52E22">Text here.</p>
This text has shadow with #B52E22 color.
.textShadow {text-shadow: 3px 3px 1px #B52E22, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B52E22, 5px 5px 20px red">Text here.</p>
This text has shadow with #B52E22 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B52E22, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B52E22, Direction=45, Strength=4)">Text</p>
This text has shadow with #B52E22 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B52E22; -webkit-box-shadow: 1px 1px 3px 2px #B52E22; box-shadow: 1px 1px 3px 2px #B52E22; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B52E22; -webkit-box-shadow: 1px 1px 3px 2px #B52E22; box-shadow:1px 1px 3px 2px #B52E22;">
Div content here</div>
This text has color #B52E22 on black background.
This text has color #B52E22 on white background.
This text has black color on #B52E22 background.
This text has white color on #B52E22 background.