HEX: #40727E
RGB: (64,114,126)
#40727E contains mainly green and blue colors. Web safe color of #40727E is #336666 (or #366).
#40727E color RGB value is (64,114,126).
RGB: (64,114,126) (25%,45%,49%)
R 64 of 255 = 25%
G 114 of 255 = 45%
B 126 of 255 = 49%
R + G + B ~ 40%. #40727E is middle color (not dark and not light).
R + G + B =
64 + 114 + 126 = 304 (100%)
R 64 of 304 ~ 21.05%
G 114 of 304 ~ 37.5%
B 126 of 304 ~ 41.45%
#40727E color CMYK value is (49,10,0,51).
CMYK: (49,10,0,51) C49M10Y0K51 (49%,10%,0%,51%) (0.49/0.10/0.00/0.51)
40 | 72 | 7E | |
---|---|---|---|
RGB | 64 | 114 | 126 |
HSL | 192° | 32.63% | 37.25% |
HSB/HSV | 192° | 49.21% | 49.41% |
CMYK | 49.21% | 9.52% | 0.00% |
50.59% |
HEX | 40 | 72 | 7E |
Decimal | 64 | 114 | 126 |
Binary | 1000000 | 1110010 | 1111110 |
Octal | 100 | 162 | 176 |
Examples of css and html codes for elements with #40727E color. Also use rgb(64,114,126) instead hex code.
.myTextColor { color: #40727E; }
<p style="color:#40727E">This sample text font color is #40727E.</p>
This text font color is #40727E.
.myBgColor { background-color: #40727E; }
<div style="background-color:#40727E">Inner text</div>
This div background color is #40727E.
.myBorderColor { border: 1px solid #40727E; }
<div style="border:3px solid #40727E">Div</div>
This div border color is #40727E.
.myOpacity80 { color: #40727E; opacity: 0.8; }
<p style="color:#40727E;opacity:0.8;">80%</p>
Text with #40727E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40727E;}
<p style="text-shadow: 3px 3px 1px #40727E">Text here.</p>
This text has shadow with #40727E color.
.textShadow {text-shadow: 3px 3px 1px #40727E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40727E, 5px 5px 20px red">Text here.</p>
This text has shadow with #40727E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40727E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40727E, Direction=45, Strength=4)">Text</p>
This text has shadow with #40727E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40727E; -webkit-box-shadow: 1px 1px 3px 2px #40727E; box-shadow: 1px 1px 3px 2px #40727E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40727E; -webkit-box-shadow: 1px 1px 3px 2px #40727E; box-shadow:1px 1px 3px 2px #40727E;">
Div content here</div>
This text has color #40727E on black background.
This text has color #40727E on white background.
This text has black color on #40727E background.
This text has white color on #40727E background.