COLOR #40415F

HEX: #40415F
RGB: (64,65,95)

Color info

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

RGB color model

#40415F color RGB value is (64,65,95).

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

RGB channels and saturation

R 64 of 255 = 25%
G 65 of 255 = 25%
B 95 of 255 = 37%

64
65
95

R + G + B ~ 29%. #40415F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 65 + 95 = 224 (100%)
R 64 of 224 ~ 28.57%
G 65 of 224 ~ 29.02%
B 95 of 224 ~ 42.41%

%28.57
%29.02
%42.41

CMYK color model

#40415F color CMYK value is (33,32,0,63).

  • cyan value is 32.63%
  • magenta value is 31.58%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(33,32,0,63)
C33M32Y0K63 
(33%,32%,0%,63%)
(0.33/0.32/0.00/0.63)	

CMYK percentages

%32.63
%31.58
%0
%62.75

Codes

Color #40415F in popluar color models

40415F
RGB646595
HSL238°19.50%31.18%
HSB/HSV238°32.63%37.25%
CMYK32.63%31.58%0.00%
62.75%

Color #40415F in popluar number systems.

HEX40415F
Decimal646595
Binary100000010000011011111
Octal100101137

Shades and tints

Shades of #40415F

#40415F
(64,65,95)
#3B3C57
(59,60,87)
#36374F
(54,55,79)
#313247
(49,50,71)
#2C2D3F
(44,45,63)
#272837
(39,40,55)
#22232F
(34,35,47)
#1D1E27
(29,30,39)
#18191F
(24,25,31)
#131417
(19,20,23)
#0E0F0F
(14,15,15)
#000000
(0,0,0)

Tints of #40415F

#40415F
(64,65,95)
#51526D
(81,82,109)
#62637B
(98,99,123)
#737489
(115,116,137)
#848597
(132,133,151)
#9596A5
(149,150,165)
#A6A7B3
(166,167,179)
#B7B8C1
(183,184,193)
#C8C9CF
(200,201,207)
#D9DADD
(217,218,221)
#EAEBEB
(234,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40415F; }

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

This text font color is #40415F.


Background Color

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

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

This div background color is #40415F.


Border color

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

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

This div border color is #40415F.


Opacity

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

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

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

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

This text has shadow with #40415F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40415F on black background.


Color preview on white background

This text has color #40415F on white background.



Black color preview on #40415F background

This text has black color on #40415F background.


White color preview on #40415F background

This text has white color on #40415F background.