COLOR #40336E

HEX: #40336E RGB: (64,51,110)

Color info

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

RGB color model

#40336E color RGB value is (64,51,110).

RGB: (64,51,110) (25%, 20%, 43%)

RGB channels and saturation

R 64 of 255 = 25%
G 51 of 255 = 20%
B 110 of 255 = 43%

64
51
110

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

Portions of RGB colors in percentages

R + G + B = 64 + 51 + 110 = 225 (100%)
R 64 of 225 ~ 28.44%
G 51 of 225 ~ 22.67%
B 110 of 225 ~ 48.89'%

%28.44
%22.67
%48.89

CMYK color model

#40336E color CMYK value is (42,54,0,57).

  • cyan value is 41.82%
  • magenta value is 53.64%
  • yellow value is 0.00%
  • key color value is 56.86%
CMYK: (42,54,0,57) C42M54Y0K57 (42%,54%,0%,57%) (0.42/0.54/0.00/0.57) 

CMYK percentages

%41.82
%53.64
%0
%56.86

Codes

Color #40336E in popluar color models

40 33 6E
RGB 64 51 110
HSL 253° 36.65% 31.57%
HSB/HSV 253° 53.64% 43.14%
CMYK 41.82% 53.64% 0.00%
56.86%

Color #40336E in popluar number systems.

HEX 40 33 6E
Decimal 64 51 110
Binary 1000000 110011 1101110
Octal 100 63 156

Shades and tints

Shades of #40336E

#40336E
(64,51,110)
#3B2F64
(59,47,100)
#362B5A
(54,43,90)
#312750
(49,39,80)
#2C2346
(44,35,70)
#271F3C
(39,31,60)
#221B32
(34,27,50)
#1D1728
(29,23,40)
#18131E
(24,19,30)
#130F14
(19,15,20)
#0E0B0A
(14,11,10)
#000000
(0,0,0)

Tints of #40336E

#40336E
(64,51,110)
#51457B
(81,69,123)
#625788
(98,87,136)
#736995
(115,105,149)
#847BA2
(132,123,162)
#958DAF
(149,141,175)
#A69FBC
(166,159,188)
#B7B1C9
(183,177,201)
#C8C3D6
(200,195,214)
#D9D5E3
(217,213,227)
#EAE7F0
(234,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40336E; }

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

This text font color is #40336E.

Background Color

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

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

This div background color is #40336E.

Border color

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

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

This div border color is #40336E.

Opacity

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

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

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

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

This text has shadow with #40336E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40336E.

Preview

Color preview on black background

This text has color #40336E on black background.


Color preview on white background

This text has color #40336E on white background.


Black color preview on #40336E background

This text has black color on #40336E background.


White color preview on #40336E background

This text has white color on #40336E background.


Related colors

Complementary color

Complementary color for #hex is #BFCC91.


I love getcolorcode.com

Triadic colors

1 #6E4033 and #336E40 with #40336E are triadic colors.

2 #6E3340 and #33406E with #40336E are triadic colors.