HEX: #42727D
RGB: (66,114,125)
#42727D contains red, green and blue colors in about the same proportion. Web safe color of #42727D is #336666 (or #366).
#42727D color RGB value is (66,114,125).
RGB: (66,114,125) (26%,45%,49%)
R 66 of 255 = 26%
G 114 of 255 = 45%
B 125 of 255 = 49%
R + G + B ~ 40%. #42727D is middle color (not dark and not light).
R + G + B =
66 + 114 + 125 = 305 (100%)
R 66 of 305 ~ 21.64%
G 114 of 305 ~ 37.38%
B 125 of 305 ~ 40.98%
#42727D color CMYK value is (47,9,0,51).
CMYK: (47,9,0,51) C47M9Y0K51 (47%,9%,0%,51%) (0.47/0.09/0.00/0.51)
42 | 72 | 7D | |
---|---|---|---|
RGB | 66 | 114 | 125 |
HSL | 191° | 30.89% | 37.45% |
HSB/HSV | 191° | 47.20% | 49.02% |
CMYK | 47.20% | 8.80% | 0.00% |
50.98% |
HEX | 42 | 72 | 7D |
Decimal | 66 | 114 | 125 |
Binary | 1000010 | 1110010 | 1111101 |
Octal | 102 | 162 | 175 |
Examples of css and html codes for elements with #42727D color. Also use rgb(66,114,125) instead hex code.
.myTextColor { color: #42727D; }
<p style="color:#42727D">This sample text font color is #42727D.</p>
This text font color is #42727D.
.myBgColor { background-color: #42727D; }
<div style="background-color:#42727D">Inner text</div>
This div background color is #42727D.
.myBorderColor { border: 1px solid #42727D; }
<div style="border:3px solid #42727D">Div</div>
This div border color is #42727D.
.myOpacity80 { color: #42727D; opacity: 0.8; }
<p style="color:#42727D;opacity:0.8;">80%</p>
Text with #42727D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42727D;}
<p style="text-shadow: 3px 3px 1px #42727D">Text here.</p>
This text has shadow with #42727D color.
.textShadow {text-shadow: 3px 3px 1px #42727D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42727D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42727D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42727D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42727D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42727D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42727D; -webkit-box-shadow: 1px 1px 3px 2px #42727D; box-shadow: 1px 1px 3px 2px #42727D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42727D; -webkit-box-shadow: 1px 1px 3px 2px #42727D; box-shadow:1px 1px 3px 2px #42727D;">
Div content here</div>
This text has color #42727D on black background.
This text has color #42727D on white background.
This text has black color on #42727D background.
This text has white color on #42727D background.