HEX: #40473A
RGB: (64,71,58)
#40473A contains red, green and blue colors in about the same proportion. Web safe color of #40473A is #333333 (or #333).
#40473A color RGB value is (64,71,58).
RGB: (64,71,58) (25%,28%,23%)
R 64 of 255 = 25%
G 71 of 255 = 28%
B 58 of 255 = 23%
R + G + B ~ 25%. #40473A is quite dark color.
R + G + B =
64 + 71 + 58 = 193 (100%)
R 64 of 193 ~ 33.16%
G 71 of 193 ~ 36.79%
B 58 of 193 ~ 30.05%
#40473A color CMYK value is (10,0,18,72).
CMYK: (10,0,18,72) C10M0Y18K72 (10%,0%,18%,72%) (0.10/0.00/0.18/0.72)
40 | 47 | 3A | |
---|---|---|---|
RGB | 64 | 71 | 58 |
HSL | 92° | 10.08% | 25.29% |
HSB/HSV | 92° | 18.31% | 27.84% |
CMYK | 9.86% | 0.00% | 18.31% |
72.16% |
HEX | 40 | 47 | 3A |
Decimal | 64 | 71 | 58 |
Binary | 1000000 | 1000111 | 111010 |
Octal | 100 | 107 | 72 |
Examples of css and html codes for elements with #40473A color. Also use rgb(64,71,58) instead hex code.
.myTextColor { color: #40473A; }
<p style="color:#40473A">This sample text font color is #40473A.</p>
This text font color is #40473A.
.myBgColor { background-color: #40473A; }
<div style="background-color:#40473A">Inner text</div>
This div background color is #40473A.
.myBorderColor { border: 1px solid #40473A; }
<div style="border:3px solid #40473A">Div</div>
This div border color is #40473A.
.myOpacity80 { color: #40473A; opacity: 0.8; }
<p style="color:#40473A;opacity:0.8;">80%</p>
Text with #40473A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40473A;}
<p style="text-shadow: 3px 3px 1px #40473A">Text here.</p>
This text has shadow with #40473A color.
.textShadow {text-shadow: 3px 3px 1px #40473A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40473A, 5px 5px 20px red">Text here.</p>
This text has shadow with #40473A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40473A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40473A, Direction=45, Strength=4)">Text</p>
This text has shadow with #40473A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40473A; -webkit-box-shadow: 1px 1px 3px 2px #40473A; box-shadow: 1px 1px 3px 2px #40473A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40473A; -webkit-box-shadow: 1px 1px 3px 2px #40473A; box-shadow:1px 1px 3px 2px #40473A;">
Div content here</div>
This text has color #40473A on black background.
This text has color #40473A on white background.
This text has black color on #40473A background.
This text has white color on #40473A background.