HEX: #C50818
RGB: (197,8,24)
#C50818 contains mainly red color. Web safe color of #C50818 is #CC0000 (or #C00).
#C50818 color RGB value is (197,8,24).
RGB: (197,8,24) (77%,3%,9%)
R 197 of 255 = 77%
G 8 of 255 = 3%
B 24 of 255 = 9%
R + G + B ~ 30%. #C50818 is quite dark color.
R + G + B =
197 + 8 + 24 = 229 (100%)
R 197 of 229 ~ 86.03%
G 8 of 229 ~ 3.49%
B 24 of 229 ~ 10.48%
#C50818 color CMYK value is (0,96,88,23).
CMYK: (0,96,88,23) C0M96Y88K23 (0%,96%,88%,23%) (0.00/0.96/0.88/0.23)
C5 | 08 | 18 | |
---|---|---|---|
RGB | 197 | 8 | 24 |
HSL | 355° | 92.20% | 40.20% |
HSB/HSV | 355° | 95.94% | 77.25% |
CMYK | 0.00% | 95.94% | 87.82% |
22.75% |
HEX | C5 | 08 | 18 |
Decimal | 197 | 8 | 24 |
Binary | 11000101 | 1000 | 11000 |
Octal | 305 | 10 | 30 |
Examples of css and html codes for elements with #C50818 color. Also use rgb(197,8,24) instead hex code.
.myTextColor { color: #C50818; }
<p style="color:#C50818">This sample text font color is #C50818.</p>
This text font color is #C50818.
.myBgColor { background-color: #C50818; }
<div style="background-color:#C50818">Inner text</div>
This div background color is #C50818.
.myBorderColor { border: 1px solid #C50818; }
<div style="border:3px solid #C50818">Div</div>
This div border color is #C50818.
.myOpacity80 { color: #C50818; opacity: 0.8; }
<p style="color:#C50818;opacity:0.8;">80%</p>
Text with #C50818 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C50818;}
<p style="text-shadow: 3px 3px 1px #C50818">Text here.</p>
This text has shadow with #C50818 color.
.textShadow {text-shadow: 3px 3px 1px #C50818, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C50818, 5px 5px 20px red">Text here.</p>
This text has shadow with #C50818 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C50818, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C50818, Direction=45, Strength=4)">Text</p>
This text has shadow with #C50818 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C50818; -webkit-box-shadow: 1px 1px 3px 2px #C50818; box-shadow: 1px 1px 3px 2px #C50818; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C50818; -webkit-box-shadow: 1px 1px 3px 2px #C50818; box-shadow:1px 1px 3px 2px #C50818;">
Div content here</div>
This text has color #C50818 on black background.
This text has color #C50818 on white background.
This text has black color on #C50818 background.
This text has white color on #C50818 background.