HEX: #BA1714
RGB: (186,23,20)
#BA1714 contains mainly red color. Web safe color of #BA1714 is #CC0000 (or #C00).
#BA1714 color RGB value is (186,23,20).
RGB: (186,23,20) (73%,9%,8%)
R 186 of 255 = 73%
G 23 of 255 = 9%
B 20 of 255 = 8%
R + G + B ~ 30%. #BA1714 is quite dark color.
R + G + B =
186 + 23 + 20 = 229 (100%)
R 186 of 229 ~ 81.22%
G 23 of 229 ~ 10.04%
B 20 of 229 ~ 8.73%
#BA1714 color CMYK value is (0,88,89,27).
CMYK: (0,88,89,27) C0M88Y89K27 (0%,88%,89%,27%) (0.00/0.88/0.89/0.27)
BA | 17 | 14 | |
---|---|---|---|
RGB | 186 | 23 | 20 |
HSL | 1° | 80.58% | 40.39% |
HSB/HSV | 1° | 89.25% | 72.94% |
CMYK | 0.00% | 87.63% | 89.25% |
27.06% |
HEX | BA | 17 | 14 |
Decimal | 186 | 23 | 20 |
Binary | 10111010 | 10111 | 10100 |
Octal | 272 | 27 | 24 |
Examples of css and html codes for elements with #BA1714 color. Also use rgb(186,23,20) instead hex code.
.myTextColor { color: #BA1714; }
<p style="color:#BA1714">This sample text font color is #BA1714.</p>
This text font color is #BA1714.
.myBgColor { background-color: #BA1714; }
<div style="background-color:#BA1714">Inner text</div>
This div background color is #BA1714.
.myBorderColor { border: 1px solid #BA1714; }
<div style="border:3px solid #BA1714">Div</div>
This div border color is #BA1714.
.myOpacity80 { color: #BA1714; opacity: 0.8; }
<p style="color:#BA1714;opacity:0.8;">80%</p>
Text with #BA1714 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA1714;}
<p style="text-shadow: 3px 3px 1px #BA1714">Text here.</p>
This text has shadow with #BA1714 color.
.textShadow {text-shadow: 3px 3px 1px #BA1714, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA1714, 5px 5px 20px red">Text here.</p>
This text has shadow with #BA1714 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA1714, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA1714, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA1714 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA1714; -webkit-box-shadow: 1px 1px 3px 2px #BA1714; box-shadow: 1px 1px 3px 2px #BA1714; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA1714; -webkit-box-shadow: 1px 1px 3px 2px #BA1714; box-shadow:1px 1px 3px 2px #BA1714;">
Div content here</div>
This text has color #BA1714 on black background.
This text has color #BA1714 on white background.
This text has black color on #BA1714 background.
This text has white color on #BA1714 background.