COLOR #40415E

HEX: #40415E RGB: (64,65,94)

Color info

#40415E contains red, green and blue colors in about the same proportion. Web safe color of #40415E is #333366 (or #336).

RGB color model

#40415E color RGB value is (64,65,94).

RGB: (64,65,94) (25%, 25%, 37%)

RGB channels and saturation

R 64 of 255 = 25%
G 65 of 255 = 25%
B 94 of 255 = 37%

64
65
94

R + G + B ~ 29%. #40415E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 65 + 94 = 223 (100%)
R 64 of 223 ~ 28.7%
G 65 of 223 ~ 29.15%
B 94 of 223 ~ 42.15'%

%28.7
%29.15
%42.15

CMYK color model

#40415E color CMYK value is (32,31,0,63).

  • cyan value is 31.91%
  • magenta value is 30.85%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK: (32,31,0,63) C32M31Y0K63 (32%,31%,0%,63%) (0.32/0.31/0.00/0.63) 

CMYK percentages

%31.91
%30.85
%0
%63.14

Codes

Color #40415E in popluar color models

40 41 5E
RGB 64 65 94
HSL 238° 18.99% 30.98%
HSB/HSV 238° 31.91% 36.86%
CMYK 31.91% 30.85% 0.00%
63.14%

Color #40415E in popluar number systems.

HEX 40 41 5E
Decimal 64 65 94
Binary 1000000 1000001 1011110
Octal 100 101 136

Shades and tints

Shades of #40415E

#40415E
(64,65,94)
#3B3C56
(59,60,86)
#36374E
(54,55,78)
#313246
(49,50,70)
#2C2D3E
(44,45,62)
#272836
(39,40,54)
#22232E
(34,35,46)
#1D1E26
(29,30,38)
#18191E
(24,25,30)
#131416
(19,20,22)
#0E0F0E
(14,15,14)
#000000
(0,0,0)

Tints of #40415E

#40415E
(64,65,94)
#51526C
(81,82,108)
#62637A
(98,99,122)
#737488
(115,116,136)
#848596
(132,133,150)
#9596A4
(149,150,164)
#A6A7B2
(166,167,178)
#B7B8C0
(183,184,192)
#C8C9CE
(200,201,206)
#D9DADC
(217,218,220)
#EAEBEA
(234,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40415E color. Also use rgb(64,65,94) instead hex code.

Text Font Color

.myTextColor { color: #40415E; }

<p style="color:#40415E">This sample text font color is #40415E.</p>

This text font color is #40415E.

Background Color

.myBgColor { background-color: #40415E; }

<div style="background-color:#40415E">Inner text</div>

This div background color is #40415E.

Border color

.myBorderColor { border: 1px solid #40415E; }

<div style="border:3px solid #40415E">Div</div>

This div border color is #40415E.

Opacity

.myOpacity80 { color: #40415E; opacity: 0.8; }

<p style="color:#40415E;opacity:0.8;">80%</p>

Text with #40415E color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #40415E;}

<p style="text-shadow: 3px 3px 1px #40415E">Text here.</p>

This text has shadow with #40415E color.


.textShadow {text-shadow: 3px 3px 1px #40415E', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #40415E, 5px 5px 20px red">Text here.</p>

This text has shadow with #40415E primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40415E, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#40415E, Direction=45, Strength=4)">Text</p>

This text has shadow with #40415E and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #40415E;
-webkit-box-shadow: 1px 1px 3px 2px #40415E;
box-shadow: 1px 1px 3px 2px #40415E;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #40415E; -webkit-box-shadow: 1px 1px 3px 2px #40415E; box-shadow:1px 1px 3px 2px #40415E;">
Div content here
</div>

This div box has shadow with color #40415E.

Preview

Color preview on black background

This text has color #40415E on black background.


Color preview on white background

This text has color #40415E on white background.


Black color preview on #40415E background

This text has black color on #40415E background.


White color preview on #40415E background

This text has white color on #40415E background.


Related colors

Complementary color

Complementary color for #hex is #BFBEA1.


I love getcolorcode.com

Triadic colors

1 #5E4041 and #415E40 with #40415E are triadic colors.

2 #5E4140 and #41405E with #40415E are triadic colors.