COLOR #40395D

HEX: #40395D
RGB: (64,57,93)

Color info

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

RGB color model

#40395D color RGB value is (64,57,93).

  • red value is 64;
  • green value is 57;
  • blue value is 93.
RGB:
(64,57,93)
(25%,22%,36%)

RGB channels and saturation

R 64 of 255 = 25%
G 57 of 255 = 22%
B 93 of 255 = 36%

64
57
93

R + G + B ~ 28%. #40395D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 57 + 93 = 214 (100%)
R 64 of 214 ~ 29.91%
G 57 of 214 ~ 26.64%
B 93 of 214 ~ 43.46%

%29.91
%26.64
%43.46

CMYK color model

#40395D color CMYK value is (31,39,0,64).

  • cyan value is 31.18%
  • magenta value is 38.71%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(31,39,0,64)
C31M39Y0K64 
(31%,39%,0%,64%)
(0.31/0.39/0.00/0.64)	

CMYK percentages

%31.18
%38.71
%0
%63.53

Codes

Color #40395D in popluar color models

40395D
RGB645793
HSL252°24.00%29.41%
HSB/HSV252°38.71%36.47%
CMYK31.18%38.71%0.00%
63.53%

Color #40395D in popluar number systems.

HEX40395D
Decimal645793
Binary10000001110011011101
Octal10071135

Shades and tints

Shades of #40395D

#40395D
(64,57,93)
#3B3455
(59,52,85)
#362F4D
(54,47,77)
#312A45
(49,42,69)
#2C253D
(44,37,61)
#272035
(39,32,53)
#221B2D
(34,27,45)
#1D1625
(29,22,37)
#18111D
(24,17,29)
#130C15
(19,12,21)
#0E070D
(14,7,13)
#000000
(0,0,0)

Tints of #40395D

#40395D
(64,57,93)
#514B6B
(81,75,107)
#625D79
(98,93,121)
#736F87
(115,111,135)
#848195
(132,129,149)
#9593A3
(149,147,163)
#A6A5B1
(166,165,177)
#B7B7BF
(183,183,191)
#C8C9CD
(200,201,205)
#D9DBDB
(217,219,219)
#EAEDE9
(234,237,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40395D color. Also use rgb(64,57,93) instead hex code.

Text Font Color

.myTextColor { color: #40395D; }

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

This text font color is #40395D.


Background Color

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

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

This div background color is #40395D.


Border color

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

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

This div border color is #40395D.


Opacity

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

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

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

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

This text has shadow with #40395D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40395D on black background.


Color preview on white background

This text has color #40395D on white background.



Black color preview on #40395D background

This text has black color on #40395D background.


White color preview on #40395D background

This text has white color on #40395D background.