HEX: #42737C
RGB: (66,115,124)
#42737C contains red, green and blue colors in about the same proportion. Web safe color of #42737C is #336666 (or #366).
#42737C color RGB value is (66,115,124).
RGB: (66,115,124) (26%,45%,49%)
R 66 of 255 = 26%
G 115 of 255 = 45%
B 124 of 255 = 49%
R + G + B ~ 40%. #42737C is middle color (not dark and not light).
R + G + B =
66 + 115 + 124 = 305 (100%)
R 66 of 305 ~ 21.64%
G 115 of 305 ~ 37.7%
B 124 of 305 ~ 40.66%
#42737C color CMYK value is (47,7,0,51).
CMYK: (47,7,0,51) C47M7Y0K51 (47%,7%,0%,51%) (0.47/0.07/0.00/0.51)
42 | 73 | 7C | |
---|---|---|---|
RGB | 66 | 115 | 124 |
HSL | 189° | 30.53% | 37.25% |
HSB/HSV | 189° | 46.77% | 48.63% |
CMYK | 46.77% | 7.26% | 0.00% |
51.37% |
HEX | 42 | 73 | 7C |
Decimal | 66 | 115 | 124 |
Binary | 1000010 | 1110011 | 1111100 |
Octal | 102 | 163 | 174 |
Examples of css and html codes for elements with #42737C color. Also use rgb(66,115,124) instead hex code.
.myTextColor { color: #42737C; }
<p style="color:#42737C">This sample text font color is #42737C.</p>
This text font color is #42737C.
.myBgColor { background-color: #42737C; }
<div style="background-color:#42737C">Inner text</div>
This div background color is #42737C.
.myBorderColor { border: 1px solid #42737C; }
<div style="border:3px solid #42737C">Div</div>
This div border color is #42737C.
.myOpacity80 { color: #42737C; opacity: 0.8; }
<p style="color:#42737C;opacity:0.8;">80%</p>
Text with #42737C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42737C;}
<p style="text-shadow: 3px 3px 1px #42737C">Text here.</p>
This text has shadow with #42737C color.
.textShadow {text-shadow: 3px 3px 1px #42737C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42737C, 5px 5px 20px red">Text here.</p>
This text has shadow with #42737C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42737C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42737C, Direction=45, Strength=4)">Text</p>
This text has shadow with #42737C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42737C; -webkit-box-shadow: 1px 1px 3px 2px #42737C; box-shadow: 1px 1px 3px 2px #42737C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42737C; -webkit-box-shadow: 1px 1px 3px 2px #42737C; box-shadow:1px 1px 3px 2px #42737C;">
Div content here</div>
This text has color #42737C on black background.
This text has color #42737C on white background.
This text has black color on #42737C background.
This text has white color on #42737C background.