HEX: #42595D
RGB: (66,89,93)
#42595D contains red, green and blue colors in about the same proportion. Web safe color of #42595D is #336666 (or #366).
#42595D color RGB value is (66,89,93).
RGB: (66,89,93) (26%,35%,36%)
R 66 of 255 = 26%
G 89 of 255 = 35%
B 93 of 255 = 36%
R + G + B ~ 32%. #42595D is quite dark color.
R + G + B =
66 + 89 + 93 = 248 (100%)
R 66 of 248 ~ 26.61%
G 89 of 248 ~ 35.89%
B 93 of 248 ~ 37.5%
#42595D color CMYK value is (29,4,0,64).
CMYK: (29,4,0,64) C29M4Y0K64 (29%,4%,0%,64%) (0.29/0.04/0.00/0.64)
42 | 59 | 5D | |
---|---|---|---|
RGB | 66 | 89 | 93 |
HSL | 189° | 16.98% | 31.18% |
HSB/HSV | 189° | 29.03% | 36.47% |
CMYK | 29.03% | 4.30% | 0.00% |
63.53% |
HEX | 42 | 59 | 5D |
Decimal | 66 | 89 | 93 |
Binary | 1000010 | 1011001 | 1011101 |
Octal | 102 | 131 | 135 |
Examples of css and html codes for elements with #42595D color. Also use rgb(66,89,93) instead hex code.
.myTextColor { color: #42595D; }
<p style="color:#42595D">This sample text font color is #42595D.</p>
This text font color is #42595D.
.myBgColor { background-color: #42595D; }
<div style="background-color:#42595D">Inner text</div>
This div background color is #42595D.
.myBorderColor { border: 1px solid #42595D; }
<div style="border:3px solid #42595D">Div</div>
This div border color is #42595D.
.myOpacity80 { color: #42595D; opacity: 0.8; }
<p style="color:#42595D;opacity:0.8;">80%</p>
Text with #42595D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42595D;}
<p style="text-shadow: 3px 3px 1px #42595D">Text here.</p>
This text has shadow with #42595D color.
.textShadow {text-shadow: 3px 3px 1px #42595D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42595D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42595D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42595D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42595D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42595D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42595D; -webkit-box-shadow: 1px 1px 3px 2px #42595D; box-shadow: 1px 1px 3px 2px #42595D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42595D; -webkit-box-shadow: 1px 1px 3px 2px #42595D; box-shadow:1px 1px 3px 2px #42595D;">
Div content here</div>
This text has color #42595D on black background.
This text has color #42595D on white background.
This text has black color on #42595D background.
This text has white color on #42595D background.