HEX: #42594A
RGB: (66,89,74)
#42594A contains red, green and blue colors in about the same proportion. Web safe color of #42594A is #336633 (or #363).
#42594A color RGB value is (66,89,74).
RGB: (66,89,74) (26%,35%,29%)
R 66 of 255 = 26%
G 89 of 255 = 35%
B 74 of 255 = 29%
R + G + B ~ 30%. #42594A is quite dark color.
R + G + B =
66 + 89 + 74 = 229 (100%)
R 66 of 229 ~ 28.82%
G 89 of 229 ~ 38.86%
B 74 of 229 ~ 32.31%
#42594A color CMYK value is (26,0,17,65).
CMYK: (26,0,17,65) C26M0Y17K65 (26%,0%,17%,65%) (0.26/0.00/0.17/0.65)
42 | 59 | 4A | |
---|---|---|---|
RGB | 66 | 89 | 74 |
HSL | 141° | 14.84% | 30.39% |
HSB/HSV | 141° | 25.84% | 34.90% |
CMYK | 25.84% | 0.00% | 16.85% |
65.10% |
HEX | 42 | 59 | 4A |
Decimal | 66 | 89 | 74 |
Binary | 1000010 | 1011001 | 1001010 |
Octal | 102 | 131 | 112 |
Examples of css and html codes for elements with #42594A color. Also use rgb(66,89,74) instead hex code.
.myTextColor { color: #42594A; }
<p style="color:#42594A">This sample text font color is #42594A.</p>
This text font color is #42594A.
.myBgColor { background-color: #42594A; }
<div style="background-color:#42594A">Inner text</div>
This div background color is #42594A.
.myBorderColor { border: 1px solid #42594A; }
<div style="border:3px solid #42594A">Div</div>
This div border color is #42594A.
.myOpacity80 { color: #42594A; opacity: 0.8; }
<p style="color:#42594A;opacity:0.8;">80%</p>
Text with #42594A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42594A;}
<p style="text-shadow: 3px 3px 1px #42594A">Text here.</p>
This text has shadow with #42594A color.
.textShadow {text-shadow: 3px 3px 1px #42594A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42594A, 5px 5px 20px red">Text here.</p>
This text has shadow with #42594A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42594A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42594A, Direction=45, Strength=4)">Text</p>
This text has shadow with #42594A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42594A; -webkit-box-shadow: 1px 1px 3px 2px #42594A; box-shadow: 1px 1px 3px 2px #42594A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42594A; -webkit-box-shadow: 1px 1px 3px 2px #42594A; box-shadow:1px 1px 3px 2px #42594A;">
Div content here</div>
This text has color #42594A on black background.
This text has color #42594A on white background.
This text has black color on #42594A background.
This text has white color on #42594A background.