HEX: #42484A
RGB: (66,72,74)
#42484A contains red, green and blue colors in about the same proportion. Web safe color of #42484A is #333333 (or #333).
#42484A color RGB value is (66,72,74).
RGB: (66,72,74) (26%,28%,29%)
R 66 of 255 = 26%
G 72 of 255 = 28%
B 74 of 255 = 29%
R + G + B ~ 28%. #42484A is quite dark color.
R + G + B =
66 + 72 + 74 = 212 (100%)
R 66 of 212 ~ 31.13%
G 72 of 212 ~ 33.96%
B 74 of 212 ~ 34.91%
#42484A color CMYK value is (11,3,0,71).
CMYK: (11,3,0,71) C11M3Y0K71 (11%,3%,0%,71%) (0.11/0.03/0.00/0.71)
42 | 48 | 4A | |
---|---|---|---|
RGB | 66 | 72 | 74 |
HSL | 195° | 5.71% | 27.45% |
HSB/HSV | 195° | 10.81% | 29.02% |
CMYK | 10.81% | 2.70% | 0.00% |
70.98% |
HEX | 42 | 48 | 4A |
Decimal | 66 | 72 | 74 |
Binary | 1000010 | 1001000 | 1001010 |
Octal | 102 | 110 | 112 |
Examples of css and html codes for elements with #42484A color. Also use rgb(66,72,74) instead hex code.
.myTextColor { color: #42484A; }
<p style="color:#42484A">This sample text font color is #42484A.</p>
This text font color is #42484A.
.myBgColor { background-color: #42484A; }
<div style="background-color:#42484A">Inner text</div>
This div background color is #42484A.
.myBorderColor { border: 1px solid #42484A; }
<div style="border:3px solid #42484A">Div</div>
This div border color is #42484A.
.myOpacity80 { color: #42484A; opacity: 0.8; }
<p style="color:#42484A;opacity:0.8;">80%</p>
Text with #42484A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42484A;}
<p style="text-shadow: 3px 3px 1px #42484A">Text here.</p>
This text has shadow with #42484A color.
.textShadow {text-shadow: 3px 3px 1px #42484A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42484A, 5px 5px 20px red">Text here.</p>
This text has shadow with #42484A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42484A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42484A, Direction=45, Strength=4)">Text</p>
This text has shadow with #42484A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42484A; -webkit-box-shadow: 1px 1px 3px 2px #42484A; box-shadow: 1px 1px 3px 2px #42484A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42484A; -webkit-box-shadow: 1px 1px 3px 2px #42484A; box-shadow:1px 1px 3px 2px #42484A;">
Div content here</div>
This text has color #42484A on black background.
This text has color #42484A on white background.
This text has black color on #42484A background.
This text has white color on #42484A background.