COLOR #40875C

HEX: #40875C
RGB: (64,135,92)

Color info

#40875C contains mainly green and blue colors. Web safe color of #40875C is #339966 (or #396).

RGB color model

#40875C color RGB value is (64,135,92).

  • red value is 64;
  • green value is 135;
  • blue value is 92.
RGB:
(64,135,92)
(25%,53%,36%)

RGB channels and saturation

R 64 of 255 = 25%
G 135 of 255 = 53%
B 92 of 255 = 36%

64
135
92

R + G + B ~ 38%. #40875C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 135 + 92 = 291 (100%)
R 64 of 291 ~ 21.99%
G 135 of 291 ~ 46.39%
B 92 of 291 ~ 31.62%

%21.99
%46.39
%31.62

CMYK color model

#40875C color CMYK value is (53,0,32,47).

  • cyan value is 52.59%
  • magenta value is 0.00%
  • yellow value is 31.85%
  • key color value is 47.06%
CMYK:
(53,0,32,47)
C53M0Y32K47 
(53%,0%,32%,47%)
(0.53/0.00/0.32/0.47)	

CMYK percentages

%52.59
%0
%31.85
%47.06

Codes

Color #40875C in popluar color models

40875C
RGB6413592
HSL144°35.68%39.02%
HSB/HSV144°52.59%52.94%
CMYK52.59%0.00%31.85%
47.06%

Color #40875C in popluar number systems.

HEX40875C
Decimal6413592
Binary1000000100001111011100
Octal100207134

Shades and tints

Shades of #40875C

#40875C
(64,135,92)
#3B7B54
(59,123,84)
#366F4C
(54,111,76)
#316344
(49,99,68)
#2C573C
(44,87,60)
#274B34
(39,75,52)
#223F2C
(34,63,44)
#1D3324
(29,51,36)
#18271C
(24,39,28)
#131B14
(19,27,20)
#0E0F0C
(14,15,12)
#000000
(0,0,0)

Tints of #40875C

#40875C
(64,135,92)
#51916A
(81,145,106)
#629B78
(98,155,120)
#73A586
(115,165,134)
#84AF94
(132,175,148)
#95B9A2
(149,185,162)
#A6C3B0
(166,195,176)
#B7CDBE
(183,205,190)
#C8D7CC
(200,215,204)
#D9E1DA
(217,225,218)
#EAEBE8
(234,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40875C color. Also use rgb(64,135,92) instead hex code.

Text Font Color

.myTextColor { color: #40875C; }

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

This text font color is #40875C.


Background Color

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

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

This div background color is #40875C.


Border color

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

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

This div border color is #40875C.


Opacity

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

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

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

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

This text has shadow with #40875C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40875C on black background.


Color preview on white background

This text has color #40875C on white background.



Black color preview on #40875C background

This text has black color on #40875C background.


White color preview on #40875C background

This text has white color on #40875C background.