COLOR #40502C

HEX: #40502C RGB: (64,80,44)

Color info

#40502C contains red, green and blue colors in about the same proportion. Web safe color of #40502C is #336633 (or #363).

RGB color model

#40502C color RGB value is (64,80,44).

RGB: (64,80,44) (25%, 31%, 17%)

RGB channels and saturation

R 64 of 255 = 25%
G 80 of 255 = 31%
B 44 of 255 = 17%

64
80
44

R + G + B ~ 24%. #40502C is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 80 + 44 = 188 (100%)
R 64 of 188 ~ 34.04%
G 80 of 188 ~ 42.55%
B 44 of 188 ~ 23.4'%

%34.04
%42.55
%23.4

CMYK color model

#40502C color CMYK value is (20,0,45,69).

  • cyan value is 20.00%
  • magenta value is 0.00%
  • yellow value is 45.00%
  • key color value is 68.63%
CMYK: (20,0,45,69) C20M0Y45K69 (20%,0%,45%,69%) (0.20/0.00/0.45/0.69) 

CMYK percentages

%20
%0
%45
%68.63

Codes

Color #40502C in popluar color models

40 50 2C
RGB 64 80 44
HSL 87° 29.03% 24.31%
HSB/HSV 87° 45.00% 31.37%
CMYK 20.00% 0.00% 45.00%
68.63%

Color #40502C in popluar number systems.

HEX 40 50 2C
Decimal 64 80 44
Binary 1000000 1010000 101100
Octal 100 120 54

Shades and tints

Shades of #40502C

#40502C
(64,80,44)
#3B4928
(59,73,40)
#364224
(54,66,36)
#313B20
(49,59,32)
#2C341C
(44,52,28)
#272D18
(39,45,24)
#222614
(34,38,20)
#1D1F10
(29,31,16)
#18180C
(24,24,12)
#131108
(19,17,8)
#0E0A04
(14,10,4)
#000000
(0,0,0)

Tints of #40502C

#40502C
(64,80,44)
#515F3F
(81,95,63)
#626E52
(98,110,82)
#737D65
(115,125,101)
#848C78
(132,140,120)
#959B8B
(149,155,139)
#A6AA9E
(166,170,158)
#B7B9B1
(183,185,177)
#C8C8C4
(200,200,196)
#D9D7D7
(217,215,215)
#EAE6EA
(234,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40502C color. Also use rgb(64,80,44) instead hex code.

Text Font Color

.myTextColor { color: #40502C; }

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

This text font color is #40502C.

Background Color

.myBgColor { background-color: #40502C; }

<div style="background-color:#40502C">Inner text</div>

This div background color is #40502C.

Border color

.myBorderColor { border: 1px solid #40502C; }

<div style="border:3px solid #40502C">Div</div>

This div border color is #40502C.

Opacity

.myOpacity80 { color: #40502C; opacity: 0.8; }

<p style="color:#40502C;opacity:0.8;">80%</p>

Text with #40502C 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 #40502C;}

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

This text has shadow with #40502C color.


.textShadow {text-shadow: 3px 3px 1px #40502C', 3px 3px 1px red;}

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

This text has shadow with #40502C primary color and red secondary color.


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

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

This text has shadow with #40502C and red colors in old Internet Explorer.

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #40502C; -webkit-box-shadow: 1px 1px 3px 2px #40502C; box-shadow:1px 1px 3px 2px #40502C;">
Div content here
</div>

This div box has shadow with color #40502C.

Preview

Color preview on black background

This text has color #40502C on black background.


Color preview on white background

This text has color #40502C on white background.


Black color preview on #40502C background

This text has black color on #40502C background.


White color preview on #40502C background

This text has white color on #40502C background.


Related colors

Complementary color

Complementary color for #hex is #BFAFD3.


I love getcolorcode.com

Triadic colors

1 #2C4050 and #502C40 with #40502C are triadic colors.

2 #2C5040 and #50402C with #40502C are triadic colors.