COLOR #40704C

HEX: #40704C
RGB: (64,112,76)

Color info

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

RGB color model

#40704C color RGB value is (64,112,76).

  • red value is 64;
  • green value is 112;
  • blue value is 76.
RGB:
(64,112,76)
(25%,44%,30%)

RGB channels and saturation

R 64 of 255 = 25%
G 112 of 255 = 44%
B 76 of 255 = 30%

64
112
76

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

Portions of RGB colors in percentages

R + G + B =
64 + 112 + 76 = 252 (100%)
R 64 of 252 ~ 25.4%
G 112 of 252 ~ 44.44%
B 76 of 252 ~ 30.16%

%25.4
%44.44
%30.16

CMYK color model

#40704C color CMYK value is (43,0,32,56).

  • cyan value is 42.86%
  • magenta value is 0.00%
  • yellow value is 32.14%
  • key color value is 56.08%
CMYK:
(43,0,32,56)
C43M0Y32K56 
(43%,0%,32%,56%)
(0.43/0.00/0.32/0.56)	

CMYK percentages

%42.86
%0
%32.14
%56.08

Codes

Color #40704C in popluar color models

40704C
RGB6411276
HSL135°27.27%34.51%
HSB/HSV135°42.86%43.92%
CMYK42.86%0.00%32.14%
56.08%

Color #40704C in popluar number systems.

HEX40704C
Decimal6411276
Binary100000011100001001100
Octal100160114

Shades and tints

Shades of #40704C

#40704C
(64,112,76)
#3B6646
(59,102,70)
#365C40
(54,92,64)
#31523A
(49,82,58)
#2C4834
(44,72,52)
#273E2E
(39,62,46)
#223428
(34,52,40)
#1D2A22
(29,42,34)
#18201C
(24,32,28)
#131616
(19,22,22)
#0E0C10
(14,12,16)
#000000
(0,0,0)

Tints of #40704C

#40704C
(64,112,76)
#517D5C
(81,125,92)
#628A6C
(98,138,108)
#73977C
(115,151,124)
#84A48C
(132,164,140)
#95B19C
(149,177,156)
#A6BEAC
(166,190,172)
#B7CBBC
(183,203,188)
#C8D8CC
(200,216,204)
#D9E5DC
(217,229,220)
#EAF2EC
(234,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40704C; }

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

This text font color is #40704C.


Background Color

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

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

This div background color is #40704C.


Border color

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

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

This div border color is #40704C.


Opacity

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

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

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

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

This text has shadow with #40704C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40704C on black background.


Color preview on white background

This text has color #40704C on white background.



Black color preview on #40704C background

This text has black color on #40704C background.


White color preview on #40704C background

This text has white color on #40704C background.