HEX: #40584C
RGB: (64,88,76)
#40584C contains red, green and blue colors in about the same proportion. Web safe color of #40584C is #336633 (or #363).
#40584C color RGB value is (64,88,76).
RGB: (64,88,76) (25%,35%,30%)
R 64 of 255 = 25%
G 88 of 255 = 35%
B 76 of 255 = 30%
R + G + B ~ 30%. #40584C is quite dark color.
R + G + B =
64 + 88 + 76 = 228 (100%)
R 64 of 228 ~ 28.07%
G 88 of 228 ~ 38.6%
B 76 of 228 ~ 33.33%
#40584C color CMYK value is (27,0,14,65).
CMYK: (27,0,14,65) C27M0Y14K65 (27%,0%,14%,65%) (0.27/0.00/0.14/0.65)
40 | 58 | 4C | |
---|---|---|---|
RGB | 64 | 88 | 76 |
HSL | 150° | 15.79% | 29.80% |
HSB/HSV | 150° | 27.27% | 34.51% |
CMYK | 27.27% | 0.00% | 13.64% |
65.49% |
HEX | 40 | 58 | 4C |
Decimal | 64 | 88 | 76 |
Binary | 1000000 | 1011000 | 1001100 |
Octal | 100 | 130 | 114 |
Examples of css and html codes for elements with #40584C color. Also use rgb(64,88,76) instead hex code.
.myTextColor { color: #40584C; }
<p style="color:#40584C">This sample text font color is #40584C.</p>
This text font color is #40584C.
.myBgColor { background-color: #40584C; }
<div style="background-color:#40584C">Inner text</div>
This div background color is #40584C.
.myBorderColor { border: 1px solid #40584C; }
<div style="border:3px solid #40584C">Div</div>
This div border color is #40584C.
.myOpacity80 { color: #40584C; opacity: 0.8; }
<p style="color:#40584C;opacity:0.8;">80%</p>
Text with #40584C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40584C;}
<p style="text-shadow: 3px 3px 1px #40584C">Text here.</p>
This text has shadow with #40584C color.
.textShadow {text-shadow: 3px 3px 1px #40584C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40584C, 5px 5px 20px red">Text here.</p>
This text has shadow with #40584C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40584C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40584C, Direction=45, Strength=4)">Text</p>
This text has shadow with #40584C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40584C; -webkit-box-shadow: 1px 1px 3px 2px #40584C; box-shadow: 1px 1px 3px 2px #40584C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40584C; -webkit-box-shadow: 1px 1px 3px 2px #40584C; box-shadow:1px 1px 3px 2px #40584C;">
Div content here</div>
This text has color #40584C on black background.
This text has color #40584C on white background.
This text has black color on #40584C background.
This text has white color on #40584C background.