HEX: #40484C
RGB: (64,72,76)
#40484C contains red, green and blue colors in about the same proportion. Web safe color of #40484C is #333333 (or #333).
#40484C color RGB value is (64,72,76).
RGB: (64,72,76) (25%,28%,30%)
R 64 of 255 = 25%
G 72 of 255 = 28%
B 76 of 255 = 30%
R + G + B ~ 28%. #40484C is quite dark color.
R + G + B =
64 + 72 + 76 = 212 (100%)
R 64 of 212 ~ 30.19%
G 72 of 212 ~ 33.96%
B 76 of 212 ~ 35.85%
#40484C color CMYK value is (16,5,0,70).
CMYK: (16,5,0,70) C16M5Y0K70 (16%,5%,0%,70%) (0.16/0.05/0.00/0.70)
40 | 48 | 4C | |
---|---|---|---|
RGB | 64 | 72 | 76 |
HSL | 200° | 8.57% | 27.45% |
HSB/HSV | 200° | 15.79% | 29.80% |
CMYK | 15.79% | 5.26% | 0.00% |
70.20% |
HEX | 40 | 48 | 4C |
Decimal | 64 | 72 | 76 |
Binary | 1000000 | 1001000 | 1001100 |
Octal | 100 | 110 | 114 |
Examples of css and html codes for elements with #40484C color. Also use rgb(64,72,76) instead hex code.
.myTextColor { color: #40484C; }
<p style="color:#40484C">This sample text font color is #40484C.</p>
This text font color is #40484C.
.myBgColor { background-color: #40484C; }
<div style="background-color:#40484C">Inner text</div>
This div background color is #40484C.
.myBorderColor { border: 1px solid #40484C; }
<div style="border:3px solid #40484C">Div</div>
This div border color is #40484C.
.myOpacity80 { color: #40484C; opacity: 0.8; }
<p style="color:#40484C;opacity:0.8;">80%</p>
Text with #40484C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40484C;}
<p style="text-shadow: 3px 3px 1px #40484C">Text here.</p>
This text has shadow with #40484C color.
.textShadow {text-shadow: 3px 3px 1px #40484C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40484C, 5px 5px 20px red">Text here.</p>
This text has shadow with #40484C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40484C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40484C, Direction=45, Strength=4)">Text</p>
This text has shadow with #40484C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40484C; -webkit-box-shadow: 1px 1px 3px 2px #40484C; box-shadow: 1px 1px 3px 2px #40484C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40484C; -webkit-box-shadow: 1px 1px 3px 2px #40484C; box-shadow:1px 1px 3px 2px #40484C;">
Div content here</div>
This text has color #40484C on black background.
This text has color #40484C on white background.
This text has black color on #40484C background.
This text has white color on #40484C background.