HEX: #42424D
RGB: (66,66,77)
#42424D contains red, green and blue colors in about the same proportion. Web safe color of #42424D is #333333 (or #333).
#42424D color RGB value is (66,66,77).
RGB: (66,66,77) (26%,26%,30%)
R 66 of 255 = 26%
G 66 of 255 = 26%
B 77 of 255 = 30%
R + G + B ~ 27%. #42424D is quite dark color.
R + G + B =
66 + 66 + 77 = 209 (100%)
R 66 of 209 ~ 31.58%
G 66 of 209 ~ 31.58%
B 77 of 209 ~ 36.84%
#42424D color CMYK value is (14,14,0,70).
CMYK: (14,14,0,70) C14M14Y0K70 (14%,14%,0%,70%) (0.14/0.14/0.00/0.70)
42 | 42 | 4D | |
---|---|---|---|
RGB | 66 | 66 | 77 |
HSL | 240° | 7.69% | 28.04% |
HSB/HSV | 240° | 14.29% | 30.20% |
CMYK | 14.29% | 14.29% | 0.00% |
69.80% |
HEX | 42 | 42 | 4D |
Decimal | 66 | 66 | 77 |
Binary | 1000010 | 1000010 | 1001101 |
Octal | 102 | 102 | 115 |
Examples of css and html codes for elements with #42424D color. Also use rgb(66,66,77) instead hex code.
.myTextColor { color: #42424D; }
<p style="color:#42424D">This sample text font color is #42424D.</p>
This text font color is #42424D.
.myBgColor { background-color: #42424D; }
<div style="background-color:#42424D">Inner text</div>
This div background color is #42424D.
.myBorderColor { border: 1px solid #42424D; }
<div style="border:3px solid #42424D">Div</div>
This div border color is #42424D.
.myOpacity80 { color: #42424D; opacity: 0.8; }
<p style="color:#42424D;opacity:0.8;">80%</p>
Text with #42424D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42424D;}
<p style="text-shadow: 3px 3px 1px #42424D">Text here.</p>
This text has shadow with #42424D color.
.textShadow {text-shadow: 3px 3px 1px #42424D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42424D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42424D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42424D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42424D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42424D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42424D; -webkit-box-shadow: 1px 1px 3px 2px #42424D; box-shadow: 1px 1px 3px 2px #42424D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42424D; -webkit-box-shadow: 1px 1px 3px 2px #42424D; box-shadow:1px 1px 3px 2px #42424D;">
Div content here</div>
This text has color #42424D on black background.
This text has color #42424D on white background.
This text has black color on #42424D background.
This text has white color on #42424D background.