HEX: #42735A
RGB: (66,115,90)
#42735A contains red, green and blue colors in about the same proportion. Web safe color of #42735A is #336666 (or #366).
#42735A color RGB value is (66,115,90).
RGB: (66,115,90) (26%,45%,35%)
R 66 of 255 = 26%
G 115 of 255 = 45%
B 90 of 255 = 35%
R + G + B ~ 35%. #42735A is quite dark color.
R + G + B =
66 + 115 + 90 = 271 (100%)
R 66 of 271 ~ 24.35%
G 115 of 271 ~ 42.44%
B 90 of 271 ~ 33.21%
#42735A color CMYK value is (43,0,22,55).
CMYK: (43,0,22,55) C43M0Y22K55 (43%,0%,22%,55%) (0.43/0.00/0.22/0.55)
42 | 73 | 5A | |
---|---|---|---|
RGB | 66 | 115 | 90 |
HSL | 149° | 27.07% | 35.49% |
HSB/HSV | 149° | 42.61% | 45.10% |
CMYK | 42.61% | 0.00% | 21.74% |
54.90% |
HEX | 42 | 73 | 5A |
Decimal | 66 | 115 | 90 |
Binary | 1000010 | 1110011 | 1011010 |
Octal | 102 | 163 | 132 |
Examples of css and html codes for elements with #42735A color. Also use rgb(66,115,90) instead hex code.
.myTextColor { color: #42735A; }
<p style="color:#42735A">This sample text font color is #42735A.</p>
This text font color is #42735A.
.myBgColor { background-color: #42735A; }
<div style="background-color:#42735A">Inner text</div>
This div background color is #42735A.
.myBorderColor { border: 1px solid #42735A; }
<div style="border:3px solid #42735A">Div</div>
This div border color is #42735A.
.myOpacity80 { color: #42735A; opacity: 0.8; }
<p style="color:#42735A;opacity:0.8;">80%</p>
Text with #42735A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42735A;}
<p style="text-shadow: 3px 3px 1px #42735A">Text here.</p>
This text has shadow with #42735A color.
.textShadow {text-shadow: 3px 3px 1px #42735A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42735A, 5px 5px 20px red">Text here.</p>
This text has shadow with #42735A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42735A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42735A, Direction=45, Strength=4)">Text</p>
This text has shadow with #42735A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42735A; -webkit-box-shadow: 1px 1px 3px 2px #42735A; box-shadow: 1px 1px 3px 2px #42735A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42735A; -webkit-box-shadow: 1px 1px 3px 2px #42735A; box-shadow:1px 1px 3px 2px #42735A;">
Div content here</div>
This text has color #42735A on black background.
This text has color #42735A on white background.
This text has black color on #42735A background.
This text has white color on #42735A background.