COLOR #40335E

HEX: #40335E RGB: (64,51,94)

Color info

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

RGB color model

#40335E color RGB value is (64,51,94).

RGB: (64,51,94) (25%, 20%, 37%)

RGB channels and saturation

R 64 of 255 = 25%
G 51 of 255 = 20%
B 94 of 255 = 37%

64
51
94

R + G + B ~ 27%. #40335E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 51 + 94 = 209 (100%)
R 64 of 209 ~ 30.62%
G 51 of 209 ~ 24.4%
B 94 of 209 ~ 44.98'%

%30.62
%24.4
%44.98

CMYK color model

#40335E color CMYK value is (32,46,0,63).

  • cyan value is 31.91%
  • magenta value is 45.74%
  • yellow value is 0.00%
  • key color value is 63.14%

CMYK: (32,46,0,63)
C32M46Y0K63 (32%, 46%, 0%, 63%)
(0.32 / 0.46 / 0.00 / 0.63)

CMYK percentages

%31.91
%45.74
%0
%63.14

Codes

Color #40335E in popluar color models

40 33 5E
RGB 64 51 94
HSL 258° 29.66% 28.43%
HSB/HSV 258° 45.74% 36.86%
CMYK 31.91% 45.74% 0.00%
63.14%

Color #40335E in popluar number systems.

HEX 40 33 5E
Decimal 64 51 94
Binary 1000000 110011 1011110
Octal 100 63 136

Shades and tints

Shades of #40335E

#40335E
(64,51,94)
#3B2F56
(59,47,86)
#362B4E
(54,43,78)
#312746
(49,39,70)
#2C233E
(44,35,62)
#271F36
(39,31,54)
#221B2E
(34,27,46)
#1D1726
(29,23,38)
#18131E
(24,19,30)
#130F16
(19,15,22)
#0E0B0E
(14,11,14)
#000000
(0,0,0)

Tints of #40335E

#40335E
(64,51,94)
#51456C
(81,69,108)
#62577A
(98,87,122)
#736988
(115,105,136)
#847B96
(132,123,150)
#958DA4
(149,141,164)
#A69FB2
(166,159,178)
#B7B1C0
(183,177,192)
#C8C3CE
(200,195,206)
#D9D5DC
(217,213,220)
#EAE7EA
(234,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40335E; }

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

This text font color is #40335E.

Background Color

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

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

This div background color is #40335E.

Border color

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

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

This div border color is #40335E.

Opacity

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

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

Text with #40335E 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 #40335E;}

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

This text has shadow with #40335E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40335E.

Preview

Color preview on black background

This text has color #40335E on black background.


Color preview on white background

This text has color #40335E on white background.


Black color preview on #40335E background

This text has black color on #40335E background.


White color preview on #40335E background

This text has white color on #40335E background.


Related colors

Complementary color

Complementary color for #hex is #BFCCA1.


I love getcolorcode.com

Triadic colors

1 #5E4033 and #335E40 with #40335E are triadic colors.

2 #5E3340 and #33405E with #40335E are triadic colors.