COLOR #40385F

HEX: #40385F
RGB: (64,56,95)

Color info

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

RGB color model

#40385F color RGB value is (64,56,95).

  • red value is 64;
  • green value is 56;
  • blue value is 95.
RGB:
(64,56,95)
(25%,22%,37%)

RGB channels and saturation

R 64 of 255 = 25%
G 56 of 255 = 22%
B 95 of 255 = 37%

64
56
95

R + G + B ~ 28%. #40385F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 56 + 95 = 215 (100%)
R 64 of 215 ~ 29.77%
G 56 of 215 ~ 26.05%
B 95 of 215 ~ 44.19%

%29.77
%26.05
%44.19

CMYK color model

#40385F color CMYK value is (33,41,0,63).

  • cyan value is 32.63%
  • magenta value is 41.05%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(33,41,0,63)
C33M41Y0K63 
(33%,41%,0%,63%)
(0.33/0.41/0.00/0.63)	

CMYK percentages

%32.63
%41.05
%0
%62.75

Codes

Color #40385F in popluar color models

40385F
RGB645695
HSL252°25.83%29.61%
HSB/HSV252°41.05%37.25%
CMYK32.63%41.05%0.00%
62.75%

Color #40385F in popluar number systems.

HEX40385F
Decimal645695
Binary10000001110001011111
Octal10070137

Shades and tints

Shades of #40385F

#40385F
(64,56,95)
#3B3357
(59,51,87)
#362E4F
(54,46,79)
#312947
(49,41,71)
#2C243F
(44,36,63)
#271F37
(39,31,55)
#221A2F
(34,26,47)
#1D1527
(29,21,39)
#18101F
(24,16,31)
#130B17
(19,11,23)
#0E060F
(14,6,15)
#000000
(0,0,0)

Tints of #40385F

#40385F
(64,56,95)
#514A6D
(81,74,109)
#625C7B
(98,92,123)
#736E89
(115,110,137)
#848097
(132,128,151)
#9592A5
(149,146,165)
#A6A4B3
(166,164,179)
#B7B6C1
(183,182,193)
#C8C8CF
(200,200,207)
#D9DADD
(217,218,221)
#EAECEB
(234,236,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40385F color. Also use rgb(64,56,95) instead hex code.

Text Font Color

.myTextColor { color: #40385F; }

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

This text font color is #40385F.


Background Color

.myBgColor { background-color: #40385F; }

<div style="background-color:#40385F">Inner text</div>

This div background color is #40385F.


Border color

.myBorderColor { border: 1px solid #40385F; }

<div style="border:3px solid #40385F">Div</div>

This div border color is #40385F.


Opacity

.myOpacity80 { color: #40385F; opacity: 0.8; }

<p style="color:#40385F;opacity:0.8;">80%</p>

Text with #40385F 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 #40385F;}

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

This text has shadow with #40385F color.

.textShadow {text-shadow: 3px 3px 1px #40385F, 3px 3px 1px red;}

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

This text has shadow with #40385F primary color and red secondary color.


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

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

This text has shadow with #40385F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40385F on black background.


Color preview on white background

This text has color #40385F on white background.



Black color preview on #40385F background

This text has black color on #40385F background.


White color preview on #40385F background

This text has white color on #40385F background.