COLOR #42872A

HEX: #42872A RGB: (66,135,42)

Color info

#42872A contains mainly green color. Web safe color of #42872A is #339933 (or #393).

RGB color model

#42872A color RGB value is (66,135,42).

RGB: (66,135,42) (26%, 53%, 16%)

RGB channels and saturation

R 66 of 255 = 26%
G 135 of 255 = 53%
B 42 of 255 = 16%

66
135
42

R + G + B ~ 32%. #42872A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 135 + 42 = 243 (100%)
R 66 of 243 ~ 27.16%
G 135 of 243 ~ 55.56%
B 42 of 243 ~ 17.28'%

%27.16
%55.56
%17.28

CMYK color model

#42872A color CMYK value is (51,0,69,47).

  • cyan value is 51.11%
  • magenta value is 0.00%
  • yellow value is 68.89%
  • key color value is 47.06%
CMYK: (51,0,69,47) C51M0Y69K47 (51%,0%,69%,47%) (0.51/0.00/0.69/0.47) 

CMYK percentages

%51.11
%0
%68.89
%47.06

Codes

Color #42872A in popluar color models

42 87 2A
RGB 66 135 42
HSL 105° 52.54% 34.71%
HSB/HSV 105° 68.89% 52.94%
CMYK 51.11% 0.00% 68.89%
47.06%

Color #42872A in popluar number systems.

HEX 42 87 2A
Decimal 66 135 42
Binary 1000010 10000111 101010
Octal 102 207 52

Shades and tints

Shades of #42872A

#42872A
(66,135,42)
#3C7B27
(60,123,39)
#366F24
(54,111,36)
#306321
(48,99,33)
#2A571E
(42,87,30)
#244B1B
(36,75,27)
#1E3F18
(30,63,24)
#183315
(24,51,21)
#122712
(18,39,18)
#0C1B0F
(12,27,15)
#060F0C
(6,15,12)
#000000
(0,0,0)

Tints of #42872A

#42872A
(66,135,42)
#53913D
(83,145,61)
#649B50
(100,155,80)
#75A563
(117,165,99)
#86AF76
(134,175,118)
#97B989
(151,185,137)
#A8C39C
(168,195,156)
#B9CDAF
(185,205,175)
#CAD7C2
(202,215,194)
#DBE1D5
(219,225,213)
#ECEBE8
(236,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42872A color. Also use rgb(66,135,42) instead hex code.

Text Font Color

.myTextColor { color: #42872A; }

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

This text font color is #42872A.

Background Color

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

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

This div background color is #42872A.

Border color

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

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

This div border color is #42872A.

Opacity

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

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

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

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

This text has shadow with #42872A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42872A.

Preview

Color preview on black background

This text has color #42872A on black background.


Color preview on white background

This text has color #42872A on white background.


Black color preview on #42872A background

This text has black color on #42872A background.


White color preview on #42872A background

This text has white color on #42872A background.


Related colors

Complementary color

Complementary color for #hex is #BD78D5.


I love getcolorcode.com

Triadic colors

1 #2A4287 and #872A42 with #42872A are triadic colors.

2 #2A8742 and #87422A with #42872A are triadic colors.