COLOR #40745F

HEX: #40745F
RGB: (64,116,95)

Color info

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

RGB color model

#40745F color RGB value is (64,116,95).

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

RGB channels and saturation

R 64 of 255 = 25%
G 116 of 255 = 45%
B 95 of 255 = 37%

64
116
95

R + G + B ~ 36%. #40745F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 116 + 95 = 275 (100%)
R 64 of 275 ~ 23.27%
G 116 of 275 ~ 42.18%
B 95 of 275 ~ 34.55%

%23.27
%42.18
%34.55

CMYK color model

#40745F color CMYK value is (45,0,18,55).

  • cyan value is 44.83%
  • magenta value is 0.00%
  • yellow value is 18.10%
  • key color value is 54.51%
CMYK:
(45,0,18,55)
C45M0Y18K55 
(45%,0%,18%,55%)
(0.45/0.00/0.18/0.55)	

CMYK percentages

%44.83
%0
%18.1
%54.51

Codes

Color #40745F in popluar color models

40745F
RGB6411695
HSL156°28.89%35.29%
HSB/HSV156°44.83%45.49%
CMYK44.83%0.00%18.10%
54.51%

Color #40745F in popluar number systems.

HEX40745F
Decimal6411695
Binary100000011101001011111
Octal100164137

Shades and tints

Shades of #40745F

#40745F
(64,116,95)
#3B6A57
(59,106,87)
#36604F
(54,96,79)
#315647
(49,86,71)
#2C4C3F
(44,76,63)
#274237
(39,66,55)
#22382F
(34,56,47)
#1D2E27
(29,46,39)
#18241F
(24,36,31)
#131A17
(19,26,23)
#0E100F
(14,16,15)
#000000
(0,0,0)

Tints of #40745F

#40745F
(64,116,95)
#51806D
(81,128,109)
#628C7B
(98,140,123)
#739889
(115,152,137)
#84A497
(132,164,151)
#95B0A5
(149,176,165)
#A6BCB3
(166,188,179)
#B7C8C1
(183,200,193)
#C8D4CF
(200,212,207)
#D9E0DD
(217,224,221)
#EAECEB
(234,236,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40745F; }

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

This text font color is #40745F.


Background Color

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

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

This div background color is #40745F.


Border color

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

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

This div border color is #40745F.


Opacity

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

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

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

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

This text has shadow with #40745F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40745F on black background.


Color preview on white background

This text has color #40745F on white background.



Black color preview on #40745F background

This text has black color on #40745F background.


White color preview on #40745F background

This text has white color on #40745F background.