COLOR #40505F

HEX: #40505F
RGB: (64,80,95)

Color info

#40505F contains red, green and blue colors in about the same proportion. Web safe color of #40505F is #336666 (or #366).

RGB color model

#40505F color RGB value is (64,80,95).

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

RGB channels and saturation

R 64 of 255 = 25%
G 80 of 255 = 31%
B 95 of 255 = 37%

64
80
95

R + G + B ~ 31%. #40505F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 80 + 95 = 239 (100%)
R 64 of 239 ~ 26.78%
G 80 of 239 ~ 33.47%
B 95 of 239 ~ 39.75%

%26.78
%33.47
%39.75

CMYK color model

#40505F color CMYK value is (33,16,0,63).

  • cyan value is 32.63%
  • magenta value is 15.79%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(33,16,0,63)
C33M16Y0K63 
(33%,16%,0%,63%)
(0.33/0.16/0.00/0.63)	

CMYK percentages

%32.63
%15.79
%0
%62.75

Codes

Color #40505F in popluar color models

40505F
RGB648095
HSL209°19.50%31.18%
HSB/HSV209°32.63%37.25%
CMYK32.63%15.79%0.00%
62.75%

Color #40505F in popluar number systems.

HEX40505F
Decimal648095
Binary100000010100001011111
Octal100120137

Shades and tints

Shades of #40505F

#40505F
(64,80,95)
#3B4957
(59,73,87)
#36424F
(54,66,79)
#313B47
(49,59,71)
#2C343F
(44,52,63)
#272D37
(39,45,55)
#22262F
(34,38,47)
#1D1F27
(29,31,39)
#18181F
(24,24,31)
#131117
(19,17,23)
#0E0A0F
(14,10,15)
#000000
(0,0,0)

Tints of #40505F

#40505F
(64,80,95)
#515F6D
(81,95,109)
#626E7B
(98,110,123)
#737D89
(115,125,137)
#848C97
(132,140,151)
#959BA5
(149,155,165)
#A6AAB3
(166,170,179)
#B7B9C1
(183,185,193)
#C8C8CF
(200,200,207)
#D9D7DD
(217,215,221)
#EAE6EB
(234,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40505F; }

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

This text font color is #40505F.


Background Color

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

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

This div background color is #40505F.


Border color

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

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

This div border color is #40505F.


Opacity

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

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

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

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

This text has shadow with #40505F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40505F on black background.


Color preview on white background

This text has color #40505F on white background.



Black color preview on #40505F background

This text has black color on #40505F background.


White color preview on #40505F background

This text has white color on #40505F background.