COLOR #40346D

HEX: #40346D
RGB: (64,52,109)

Color info

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

RGB color model

#40346D color RGB value is (64,52,109).

  • red value is 64;
  • green value is 52;
  • blue value is 109.
RGB:
(64,52,109)
(25%,20%,43%)

RGB channels and saturation

R 64 of 255 = 25%
G 52 of 255 = 20%
B 109 of 255 = 43%

64
52
109

R + G + B ~ 29%. #40346D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 52 + 109 = 225 (100%)
R 64 of 225 ~ 28.44%
G 52 of 225 ~ 23.11%
B 109 of 225 ~ 48.44%

%28.44
%23.11
%48.44

CMYK color model

#40346D color CMYK value is (41,52,0,57).

  • cyan value is 41.28%
  • magenta value is 52.29%
  • yellow value is 0.00%
  • key color value is 57.25%
CMYK:
(41,52,0,57)
C41M52Y0K57 
(41%,52%,0%,57%)
(0.41/0.52/0.00/0.57)	

CMYK percentages

%41.28
%52.29
%0
%57.25

Codes

Color #40346D in popluar color models

40346D
RGB6452109
HSL253°35.40%31.57%
HSB/HSV253°52.29%42.75%
CMYK41.28%52.29%0.00%
57.25%

Color #40346D in popluar number systems.

HEX40346D
Decimal6452109
Binary10000001101001101101
Octal10064155

Shades and tints

Shades of #40346D

#40346D
(64,52,109)
#3B3064
(59,48,100)
#362C5B
(54,44,91)
#312852
(49,40,82)
#2C2449
(44,36,73)
#272040
(39,32,64)
#221C37
(34,28,55)
#1D182E
(29,24,46)
#181425
(24,20,37)
#13101C
(19,16,28)
#0E0C13
(14,12,19)
#000000
(0,0,0)

Tints of #40346D

#40346D
(64,52,109)
#51467A
(81,70,122)
#625887
(98,88,135)
#736A94
(115,106,148)
#847CA1
(132,124,161)
#958EAE
(149,142,174)
#A6A0BB
(166,160,187)
#B7B2C8
(183,178,200)
#C8C4D5
(200,196,213)
#D9D6E2
(217,214,226)
#EAE8EF
(234,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40346D color. Also use rgb(64,52,109) instead hex code.

Text Font Color

.myTextColor { color: #40346D; }

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

This text font color is #40346D.


Background Color

.myBgColor { background-color: #40346D; }

<div style="background-color:#40346D">Inner text</div>

This div background color is #40346D.


Border color

.myBorderColor { border: 1px solid #40346D; }

<div style="border:3px solid #40346D">Div</div>

This div border color is #40346D.


Opacity

.myOpacity80 { color: #40346D; opacity: 0.8; }

<p style="color:#40346D;opacity:0.8;">80%</p>

Text with #40346D 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 #40346D;}

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

This text has shadow with #40346D color.

.textShadow {text-shadow: 3px 3px 1px #40346D, 3px 3px 1px red;}

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

This text has shadow with #40346D primary color and red secondary color.


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

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

This text has shadow with #40346D and red colors in old Internet Explorer.


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #40346D;
-webkit-box-shadow: 1px 1px 3px 2px #40346D;
box-shadow:1px 1px 3px 2px #40346D;">
Div content here</div>
This div box has shadow with color #40346D.

Preview

Color preview on black background

This text has color #40346D on black background.


Color preview on white background

This text has color #40346D on white background.



Black color preview on #40346D background

This text has black color on #40346D background.


White color preview on #40346D background

This text has white color on #40346D background.