COLOR #40475D

HEX: #40475D
RGB: (64,71,93)

Color info

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

RGB color model

#40475D color RGB value is (64,71,93).

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

RGB channels and saturation

R 64 of 255 = 25%
G 71 of 255 = 28%
B 93 of 255 = 36%

64
71
93

R + G + B ~ 30%. #40475D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 71 + 93 = 228 (100%)
R 64 of 228 ~ 28.07%
G 71 of 228 ~ 31.14%
B 93 of 228 ~ 40.79%

%28.07
%31.14
%40.79

CMYK color model

#40475D color CMYK value is (31,24,0,64).

  • cyan value is 31.18%
  • magenta value is 23.66%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(31,24,0,64)
C31M24Y0K64 
(31%,24%,0%,64%)
(0.31/0.24/0.00/0.64)	

CMYK percentages

%31.18
%23.66
%0
%63.53

Codes

Color #40475D in popluar color models

40475D
RGB647193
HSL226°18.47%30.78%
HSB/HSV226°31.18%36.47%
CMYK31.18%23.66%0.00%
63.53%

Color #40475D in popluar number systems.

HEX40475D
Decimal647193
Binary100000010001111011101
Octal100107135

Shades and tints

Shades of #40475D

#40475D
(64,71,93)
#3B4155
(59,65,85)
#363B4D
(54,59,77)
#313545
(49,53,69)
#2C2F3D
(44,47,61)
#272935
(39,41,53)
#22232D
(34,35,45)
#1D1D25
(29,29,37)
#18171D
(24,23,29)
#131115
(19,17,21)
#0E0B0D
(14,11,13)
#000000
(0,0,0)

Tints of #40475D

#40475D
(64,71,93)
#51576B
(81,87,107)
#626779
(98,103,121)
#737787
(115,119,135)
#848795
(132,135,149)
#9597A3
(149,151,163)
#A6A7B1
(166,167,177)
#B7B7BF
(183,183,191)
#C8C7CD
(200,199,205)
#D9D7DB
(217,215,219)
#EAE7E9
(234,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40475D; }

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

This text font color is #40475D.


Background Color

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

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

This div background color is #40475D.


Border color

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

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

This div border color is #40475D.


Opacity

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

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

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

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

This text has shadow with #40475D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40475D on black background.


Color preview on white background

This text has color #40475D on white background.



Black color preview on #40475D background

This text has black color on #40475D background.


White color preview on #40475D background

This text has white color on #40475D background.