COLOR #40804A

HEX: #40804A
RGB: (64,128,74)

Color info

#40804A contains mainly green and blue colors. Web safe color of #40804A is #336633 (or #363).

RGB color model

#40804A color RGB value is (64,128,74).

  • red value is 64;
  • green value is 128;
  • blue value is 74.
RGB:
(64,128,74)
(25%,50%,29%)

RGB channels and saturation

R 64 of 255 = 25%
G 128 of 255 = 50%
B 74 of 255 = 29%

64
128
74

R + G + B ~ 35%. #40804A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 128 + 74 = 266 (100%)
R 64 of 266 ~ 24.06%
G 128 of 266 ~ 48.12%
B 74 of 266 ~ 27.82%

%24.06
%48.12
%27.82

CMYK color model

#40804A color CMYK value is (50,0,42,50).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 42.19%
  • key color value is 49.80%
CMYK:
(50,0,42,50)
C50M0Y42K50 
(50%,0%,42%,50%)
(0.50/0.00/0.42/0.50)	

CMYK percentages

%50
%0
%42.19
%49.8

Codes

Color #40804A in popluar color models

40804A
RGB6412874
HSL129°33.33%37.65%
HSB/HSV129°50.00%50.20%
CMYK50.00%0.00%42.19%
49.80%

Color #40804A in popluar number systems.

HEX40804A
Decimal6412874
Binary1000000100000001001010
Octal100200112

Shades and tints

Shades of #40804A

#40804A
(64,128,74)
#3B7544
(59,117,68)
#366A3E
(54,106,62)
#315F38
(49,95,56)
#2C5432
(44,84,50)
#27492C
(39,73,44)
#223E26
(34,62,38)
#1D3320
(29,51,32)
#18281A
(24,40,26)
#131D14
(19,29,20)
#0E120E
(14,18,14)
#000000
(0,0,0)

Tints of #40804A

#40804A
(64,128,74)
#518B5A
(81,139,90)
#62966A
(98,150,106)
#73A17A
(115,161,122)
#84AC8A
(132,172,138)
#95B79A
(149,183,154)
#A6C2AA
(166,194,170)
#B7CDBA
(183,205,186)
#C8D8CA
(200,216,202)
#D9E3DA
(217,227,218)
#EAEEEA
(234,238,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40804A color. Also use rgb(64,128,74) instead hex code.

Text Font Color

.myTextColor { color: #40804A; }

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

This text font color is #40804A.


Background Color

.myBgColor { background-color: #40804A; }

<div style="background-color:#40804A">Inner text</div>

This div background color is #40804A.


Border color

.myBorderColor { border: 1px solid #40804A; }

<div style="border:3px solid #40804A">Div</div>

This div border color is #40804A.


Opacity

.myOpacity80 { color: #40804A; opacity: 0.8; }

<p style="color:#40804A;opacity:0.8;">80%</p>

Text with #40804A 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 #40804A;}

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

This text has shadow with #40804A color.

.textShadow {text-shadow: 3px 3px 1px #40804A, 3px 3px 1px red;}

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

This text has shadow with #40804A primary color and red secondary color.


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

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

This text has shadow with #40804A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40804A on black background.


Color preview on white background

This text has color #40804A on white background.



Black color preview on #40804A background

This text has black color on #40804A background.


White color preview on #40804A background

This text has white color on #40804A background.