COLOR #40704F

HEX: #40704F RGB: (64,112,79)

Color info

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

RGB color model

#40704F color RGB value is (64,112,79).

RGB: (64,112,79) (25%, 44%, 31%)

RGB channels and saturation

R 64 of 255 = 25%
G 112 of 255 = 44%
B 79 of 255 = 31%

64
112
79

R + G + B ~ 33%. #40704F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 112 + 79 = 255 (100%)
R 64 of 255 ~ 25.1%
G 112 of 255 ~ 43.92%
B 79 of 255 ~ 30.98'%

%25.1
%43.92
%30.98

CMYK color model

#40704F color CMYK value is (43,0,29,56).

  • cyan value is 42.86%
  • magenta value is 0.00%
  • yellow value is 29.46%
  • key color value is 56.08%
CMYK: (43,0,29,56) C43M0Y29K56 (43%,0%,29%,56%) (0.43/0.00/0.29/0.56) 

CMYK percentages

%42.86
%0
%29.46
%56.08

Codes

Color #40704F in popluar color models

40 70 4F
RGB 64 112 79
HSL 139° 27.27% 34.51%
HSB/HSV 139° 42.86% 43.92%
CMYK 42.86% 0.00% 29.46%
56.08%

Color #40704F in popluar number systems.

HEX 40 70 4F
Decimal 64 112 79
Binary 1000000 1110000 1001111
Octal 100 160 117

Shades and tints

Shades of #40704F

#40704F
(64,112,79)
#3B6648
(59,102,72)
#365C41
(54,92,65)
#31523A
(49,82,58)
#2C4833
(44,72,51)
#273E2C
(39,62,44)
#223425
(34,52,37)
#1D2A1E
(29,42,30)
#182017
(24,32,23)
#131610
(19,22,16)
#0E0C09
(14,12,9)
#000000
(0,0,0)

Tints of #40704F

#40704F
(64,112,79)
#517D5F
(81,125,95)
#628A6F
(98,138,111)
#73977F
(115,151,127)
#84A48F
(132,164,143)
#95B19F
(149,177,159)
#A6BEAF
(166,190,175)
#B7CBBF
(183,203,191)
#C8D8CF
(200,216,207)
#D9E5DF
(217,229,223)
#EAF2EF
(234,242,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40704F color. Also use rgb(64,112,79) instead hex code.

Text Font Color

.myTextColor { color: #40704F; }

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

This text font color is #40704F.

Background Color

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

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

This div background color is #40704F.

Border color

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

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

This div border color is #40704F.

Opacity

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

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

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

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

This text has shadow with #40704F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40704F.

Preview

Color preview on black background

This text has color #40704F on black background.


Color preview on white background

This text has color #40704F on white background.


Black color preview on #40704F background

This text has black color on #40704F background.


White color preview on #40704F background

This text has white color on #40704F background.


Related colors

Complementary color

Complementary color for #hex is #BF8FB0.


I love getcolorcode.com

Triadic colors

1 #4F4070 and #704F40 with #40704F are triadic colors.

2 #4F7040 and #70404F with #40704F are triadic colors.