HEX: #B42C10
RGB: (180,44,16)
#B42C10 contains mainly red color. Web safe color of #B42C10 is #CC3300 (or #C30).
#B42C10 color RGB value is (180,44,16).
RGB: (180,44,16) (71%,17%,6%)
R 180 of 255 = 71%
G 44 of 255 = 17%
B 16 of 255 = 6%
R + G + B ~ 31%. #B42C10 is quite dark color.
R + G + B =
180 + 44 + 16 = 240 (100%)
R 180 of 240 ~ 75%
G 44 of 240 ~ 18.33%
B 16 of 240 ~ 6.67%
#B42C10 color CMYK value is (0,76,91,29).
CMYK: (0,76,91,29) C0M76Y91K29 (0%,76%,91%,29%) (0.00/0.76/0.91/0.29)
B4 | 2C | 10 | |
---|---|---|---|
RGB | 180 | 44 | 16 |
HSL | 10° | 83.67% | 38.43% |
HSB/HSV | 10° | 91.11% | 70.59% |
CMYK | 0.00% | 75.56% | 91.11% |
29.41% |
HEX | B4 | 2C | 10 |
Decimal | 180 | 44 | 16 |
Binary | 10110100 | 101100 | 10000 |
Octal | 264 | 54 | 20 |
Examples of css and html codes for elements with #B42C10 color. Also use rgb(180,44,16) instead hex code.
.myTextColor { color: #B42C10; }
<p style="color:#B42C10">This sample text font color is #B42C10.</p>
This text font color is #B42C10.
.myBgColor { background-color: #B42C10; }
<div style="background-color:#B42C10">Inner text</div>
This div background color is #B42C10.
.myBorderColor { border: 1px solid #B42C10; }
<div style="border:3px solid #B42C10">Div</div>
This div border color is #B42C10.
.myOpacity80 { color: #B42C10; opacity: 0.8; }
<p style="color:#B42C10;opacity:0.8;">80%</p>
Text with #B42C10 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B42C10;}
<p style="text-shadow: 3px 3px 1px #B42C10">Text here.</p>
This text has shadow with #B42C10 color.
.textShadow {text-shadow: 3px 3px 1px #B42C10, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B42C10, 5px 5px 20px red">Text here.</p>
This text has shadow with #B42C10 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B42C10, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B42C10, Direction=45, Strength=4)">Text</p>
This text has shadow with #B42C10 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B42C10; -webkit-box-shadow: 1px 1px 3px 2px #B42C10; box-shadow: 1px 1px 3px 2px #B42C10; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B42C10; -webkit-box-shadow: 1px 1px 3px 2px #B42C10; box-shadow:1px 1px 3px 2px #B42C10;">
Div content here</div>
This text has color #B42C10 on black background.
This text has color #B42C10 on white background.
This text has black color on #B42C10 background.
This text has white color on #B42C10 background.