COLOR #40336A

HEX: #40336A RGB: (64,51,106)

Color info

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

RGB color model

#40336A color RGB value is (64,51,106).

RGB: (64,51,106) (25%, 20%, 42%)

RGB channels and saturation

R 64 of 255 = 25%
G 51 of 255 = 20%
B 106 of 255 = 42%

64
51
106

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

Portions of RGB colors in percentages

R + G + B = 64 + 51 + 106 = 221 (100%)
R 64 of 221 ~ 28.96%
G 51 of 221 ~ 23.08%
B 106 of 221 ~ 47.96'%

%28.96
%23.08
%47.96

CMYK color model

#40336A color CMYK value is (40,52,0,58).

  • cyan value is 39.62%
  • magenta value is 51.89%
  • yellow value is 0.00%
  • key color value is 58.43%

CMYK: (40,52,0,58)
C40M52Y0K58 (40%, 52%, 0%, 58%)
(0.40 / 0.52 / 0.00 / 0.58)

CMYK percentages

%39.62
%51.89
%0
%58.43

Codes

Color #40336A in popluar color models

40 33 6A
RGB 64 51 106
HSL 254° 35.03% 30.78%
HSB/HSV 254° 51.89% 41.57%
CMYK 39.62% 51.89% 0.00%
58.43%

Color #40336A in popluar number systems.

HEX 40 33 6A
Decimal 64 51 106
Binary 1000000 110011 1101010
Octal 100 63 152

Shades and tints

Shades of #40336A

#40336A
(64,51,106)
#3B2F61
(59,47,97)
#362B58
(54,43,88)
#31274F
(49,39,79)
#2C2346
(44,35,70)
#271F3D
(39,31,61)
#221B34
(34,27,52)
#1D172B
(29,23,43)
#181322
(24,19,34)
#130F19
(19,15,25)
#0E0B10
(14,11,16)
#000000
(0,0,0)

Tints of #40336A

#40336A
(64,51,106)
#514577
(81,69,119)
#625784
(98,87,132)
#736991
(115,105,145)
#847B9E
(132,123,158)
#958DAB
(149,141,171)
#A69FB8
(166,159,184)
#B7B1C5
(183,177,197)
#C8C3D2
(200,195,210)
#D9D5DF
(217,213,223)
#EAE7EC
(234,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40336A; }

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

This text font color is #40336A.

Background Color

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

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

This div background color is #40336A.

Border color

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

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

This div border color is #40336A.

Opacity

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

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

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

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

This text has shadow with #40336A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40336A.

Preview

Color preview on black background

This text has color #40336A on black background.


Color preview on white background

This text has color #40336A on white background.


Black color preview on #40336A background

This text has black color on #40336A background.


White color preview on #40336A background

This text has white color on #40336A background.


Related colors

Complementary color

Complementary color for #hex is #BFCC95.


I love getcolorcode.com

Triadic colors

1 #6A4033 and #336A40 with #40336A are triadic colors.

2 #6A3340 and #33406A with #40336A are triadic colors.