HEX: #C0171B
RGB: (192,23,27)
#C0171B contains mainly red color. Web safe color of #C0171B is #CC0033 (or #C03).
#C0171B color RGB value is (192,23,27).
RGB: (192,23,27) (75%,9%,11%)
R 192 of 255 = 75%
G 23 of 255 = 9%
B 27 of 255 = 11%
R + G + B ~ 32%. #C0171B is quite dark color.
R + G + B =
192 + 23 + 27 = 242 (100%)
R 192 of 242 ~ 79.34%
G 23 of 242 ~ 9.5%
B 27 of 242 ~ 11.16%
#C0171B color CMYK value is (0,88,86,25).
CMYK: (0,88,86,25) C0M88Y86K25 (0%,88%,86%,25%) (0.00/0.88/0.86/0.25)
C0 | 17 | 1B | |
---|---|---|---|
RGB | 192 | 23 | 27 |
HSL | 359° | 78.60% | 42.16% |
HSB/HSV | 359° | 88.02% | 75.29% |
CMYK | 0.00% | 88.02% | 85.94% |
24.71% |
HEX | C0 | 17 | 1B |
Decimal | 192 | 23 | 27 |
Binary | 11000000 | 10111 | 11011 |
Octal | 300 | 27 | 33 |
Examples of css and html codes for elements with #C0171B color. Also use rgb(192,23,27) instead hex code.
.myTextColor { color: #C0171B; }
<p style="color:#C0171B">This sample text font color is #C0171B.</p>
This text font color is #C0171B.
.myBgColor { background-color: #C0171B; }
<div style="background-color:#C0171B">Inner text</div>
This div background color is #C0171B.
.myBorderColor { border: 1px solid #C0171B; }
<div style="border:3px solid #C0171B">Div</div>
This div border color is #C0171B.
.myOpacity80 { color: #C0171B; opacity: 0.8; }
<p style="color:#C0171B;opacity:0.8;">80%</p>
Text with #C0171B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C0171B;}
<p style="text-shadow: 3px 3px 1px #C0171B">Text here.</p>
This text has shadow with #C0171B color.
.textShadow {text-shadow: 3px 3px 1px #C0171B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C0171B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C0171B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C0171B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C0171B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C0171B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C0171B; -webkit-box-shadow: 1px 1px 3px 2px #C0171B; box-shadow: 1px 1px 3px 2px #C0171B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C0171B; -webkit-box-shadow: 1px 1px 3px 2px #C0171B; box-shadow:1px 1px 3px 2px #C0171B;">
Div content here</div>
This text has color #C0171B on black background.
This text has color #C0171B on white background.
This text has black color on #C0171B background.
This text has white color on #C0171B background.