HEX: #CF420D
RGB: (207,66,13)
#CF420D contains mainly red color. Web safe color of #CF420D is #CC3300 (or #C30).
#CF420D color RGB value is (207,66,13).
RGB: (207,66,13) (81%,26%,5%)
R 207 of 255 = 81%
G 66 of 255 = 26%
B 13 of 255 = 5%
R + G + B ~ 37%. #CF420D is quite dark color.
R + G + B =
207 + 66 + 13 = 286 (100%)
R 207 of 286 ~ 72.38%
G 66 of 286 ~ 23.08%
B 13 of 286 ~ 4.55%
#CF420D color CMYK value is (0,68,94,19).
CMYK: (0,68,94,19) C0M68Y94K19 (0%,68%,94%,19%) (0.00/0.68/0.94/0.19)
CF | 42 | 0D | |
---|---|---|---|
RGB | 207 | 66 | 13 |
HSL | 16° | 88.18% | 43.14% |
HSB/HSV | 16° | 93.72% | 81.18% |
CMYK | 0.00% | 68.12% | 93.72% |
18.82% |
HEX | CF | 42 | 0D |
Decimal | 207 | 66 | 13 |
Binary | 11001111 | 1000010 | 1101 |
Octal | 317 | 102 | 15 |
Examples of css and html codes for elements with #CF420D color. Also use rgb(207,66,13) instead hex code.
.myTextColor { color: #CF420D; }
<p style="color:#CF420D">This sample text font color is #CF420D.</p>
This text font color is #CF420D.
.myBgColor { background-color: #CF420D; }
<div style="background-color:#CF420D">Inner text</div>
This div background color is #CF420D.
.myBorderColor { border: 1px solid #CF420D; }
<div style="border:3px solid #CF420D">Div</div>
This div border color is #CF420D.
.myOpacity80 { color: #CF420D; opacity: 0.8; }
<p style="color:#CF420D;opacity:0.8;">80%</p>
Text with #CF420D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CF420D;}
<p style="text-shadow: 3px 3px 1px #CF420D">Text here.</p>
This text has shadow with #CF420D color.
.textShadow {text-shadow: 3px 3px 1px #CF420D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CF420D, 5px 5px 20px red">Text here.</p>
This text has shadow with #CF420D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CF420D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CF420D, Direction=45, Strength=4)">Text</p>
This text has shadow with #CF420D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CF420D; -webkit-box-shadow: 1px 1px 3px 2px #CF420D; box-shadow: 1px 1px 3px 2px #CF420D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CF420D; -webkit-box-shadow: 1px 1px 3px 2px #CF420D; box-shadow:1px 1px 3px 2px #CF420D;">
Div content here</div>
This text has color #CF420D on black background.
This text has color #CF420D on white background.
This text has black color on #CF420D background.
This text has white color on #CF420D background.