COLOR #40375D

HEX: #40375D
RGB: (64,55,93)

Color info

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

RGB color model

#40375D color RGB value is (64,55,93).

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

RGB channels and saturation

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

64
55
93

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

Portions of RGB colors in percentages

R + G + B =
64 + 55 + 93 = 212 (100%)
R 64 of 212 ~ 30.19%
G 55 of 212 ~ 25.94%
B 93 of 212 ~ 43.87%

%30.19
%25.94
%43.87

CMYK color model

#40375D color CMYK value is (31,41,0,64).

  • cyan value is 31.18%
  • magenta value is 40.86%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(31,41,0,64)
C31M41Y0K64 
(31%,41%,0%,64%)
(0.31/0.41/0.00/0.64)	

CMYK percentages

%31.18
%40.86
%0
%63.53

Codes

Color #40375D in popluar color models

40375D
RGB645593
HSL254°25.68%29.02%
HSB/HSV254°40.86%36.47%
CMYK31.18%40.86%0.00%
63.53%

Color #40375D in popluar number systems.

HEX40375D
Decimal645593
Binary10000001101111011101
Octal10067135

Shades and tints

Shades of #40375D

#40375D
(64,55,93)
#3B3255
(59,50,85)
#362D4D
(54,45,77)
#312845
(49,40,69)
#2C233D
(44,35,61)
#271E35
(39,30,53)
#22192D
(34,25,45)
#1D1425
(29,20,37)
#180F1D
(24,15,29)
#130A15
(19,10,21)
#0E050D
(14,5,13)
#000000
(0,0,0)

Tints of #40375D

#40375D
(64,55,93)
#51496B
(81,73,107)
#625B79
(98,91,121)
#736D87
(115,109,135)
#847F95
(132,127,149)
#9591A3
(149,145,163)
#A6A3B1
(166,163,177)
#B7B5BF
(183,181,191)
#C8C7CD
(200,199,205)
#D9D9DB
(217,217,219)
#EAEBE9
(234,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40375D; }

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

This text font color is #40375D.


Background Color

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

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

This div background color is #40375D.


Border color

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

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

This div border color is #40375D.


Opacity

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

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

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

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

This text has shadow with #40375D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40375D on black background.


Color preview on white background

This text has color #40375D on white background.



Black color preview on #40375D background

This text has black color on #40375D background.


White color preview on #40375D background

This text has white color on #40375D background.