HEX: #400741
RGB: (64,7,65)
#400741 contains red, green and blue colors in about the same proportion. Web safe color of #400741 is #330033 (or #303).
#400741 color RGB value is (64,7,65).
RGB: (64,7,65)
(25%, 3%, 25%)
R 64 of 255 = 25%
G 7 of 255 = 3%
B 65 of 255 = 25%
R + G + B ~ 18%. #400741 is dark color.
R + G + B = 64 + 7 + 65 = 136 (100%)
R 64 of 136 ~ 47.06%
G 7 of 136 ~ 5.15%
B 65 of 136 ~ 47.79'%
#400741 color CMYK value is (2,89,0,75).
CMYK: (2,89,0,75)
C2M89Y0K75 (2%, 89%, 0%, 75%)
(0.02 / 0.89 / 0.00 / 0.75)
Color #400741 in popluar color models
40 | 07 | 41 | |
---|---|---|---|
RGB | 64 | 7 | 65 |
HSL | 299° | 80.56% | 14.12% |
HSB/HSV | 299° | 89.23% | 25.49% |
CMYK | 1.54% | 89.23% | 0.00% |
74.51% |
Color #400741 in popluar number systems.
HEX | 40 | 07 | 41 |
Decimal | 64 | 7 | 65 |
Binary | 1000000 | 111 | 1000001 |
Octal | 100 | 7 | 101 |
Shades of #400741
Tints of #400741
Examples of css and html codes for elements with #400741 color. Also use rgb(64,7,65) instead hex code.
.myTextColor { color: #400741; }
<p style="color:#400741">This sample text font color is #400741.</p>
This text font color is #400741.
.myBgColor { background-color: #400741; }
<div style="background-color:#400741">Inner text</div>
This div background color is #400741.
.myBorderColor { border: 1px solid #400741; }
<div style="border:3px solid #400741">Div</div>
This div border color is #400741.
.myOpacity80 { color: #400741; opacity: 0.8; }
<p style="color:#400741;opacity:0.8;">80%</p>
Text with #400741 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #400741;}
<p style="text-shadow: 3px 3px 1px #400741">Text here.</p>
This text has shadow with #400741 color.
.textShadow {text-shadow: 3px 3px 1px #400741', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #400741, 5px 5px 20px red">Text here.</p>
This text has shadow with #400741 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#400741, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#400741, Direction=45, Strength=4)">Text</p>
This text has shadow with #400741 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #400741;
-webkit-box-shadow: 1px 1px 3px 2px #400741;
box-shadow: 1px 1px 3px 2px #400741;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #400741; -webkit-box-shadow: 1px 1px 3px 2px #400741; box-shadow:1px 1px 3px 2px #400741;">
Div content here
</div>
This text has color #400741 on black background.
This text has color #400741 on white background.
This text has black color on #400741 background.
This text has white color on #400741 background.
Complementary color for #hex is #BFF8BE.