HEX: #B22222
RGB: (178,34,34)
Color name is FireBrick. #B22222 contains mainly red color. Web safe color of #B22222 is #993333 (or #933).
#B22222 color RGB value is (178,34,34).
RGB: (178,34,34)
(70%, 13%, 13%)
R 178 of 255 = 70%
G 34 of 255 = 13%
B 34 of 255 = 13%
R + G + B ~ 32%. #B22222 is quite dark color.
R + G + B = 178 + 34 + 34 = 246 (100%)
R 178 of 246 ~ 72.36%
G 34 of 246 ~ 13.82%
B 34 of 246 ~ 13.82'%
#B22222 color CMYK value is (0,81,81,30).
CMYK: (0,81,81,30) C0M81Y81K30 (0%,81%,81%,30%) (0.00/0.81/0.81/0.30)
Color #B22222 in popluar color models
B2 | 22 | 22 | |
---|---|---|---|
RGB | 178 | 34 | 34 |
HSL | 0° | 67.92% | 41.57% |
HSB/HSV | 0° | 80.90% | 69.80% |
CMYK | 0.00% | 80.90% | 80.90% |
30.20% |
Color #B22222 in popluar number systems.
HEX | B2 | 22 | 22 |
Decimal | 178 | 34 | 34 |
Binary | 10110010 | 100010 | 100010 |
Octal | 262 | 42 | 42 |
Shades of #B22222
Tints of #B22222
Examples of css and html codes for elements with #B22222 color. Also use rgb(178,34,34) instead hex code.
.myTextColor { color: #B22222; }
<p style="color:#B22222">This sample text font color is #B22222.</p>
This text font color is #B22222.
.myBgColor { background-color: #B22222; }
<div style="background-color:#B22222">Inner text</div>
This div background color is #B22222.
.myBorderColor { border: 1px solid #B22222; }
<div style="border:3px solid #B22222">Div</div>
This div border color is #B22222.
.myOpacity80 { color: #B22222; opacity: 0.8; }
<p style="color:#B22222;opacity:0.8;">80%</p>
Text with #B22222 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B22222;}
<p style="text-shadow: 3px 3px 1px #B22222">Text here.</p>
This text has shadow with #B22222 color.
.textShadow {text-shadow: 3px 3px 1px #B22222', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B22222, 5px 5px 20px red">Text here.</p>
This text has shadow with #B22222 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B22222, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B22222, Direction=45, Strength=4)">Text</p>
This text has shadow with #B22222 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #B22222;
-webkit-box-shadow: 1px 1px 3px 2px #B22222;
box-shadow: 1px 1px 3px 2px #B22222;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #B22222; -webkit-box-shadow: 1px 1px 3px 2px #B22222; box-shadow:1px 1px 3px 2px #B22222;">
Div content here
</div>
This text has color #B22222 on black background.
This text has color #B22222 on white background.
This text has black color on #B22222 background.
This text has white color on #B22222 background.