COLOR #2A8742

HEX: #2A8742 RGB: (42,135,66)

Color info

#2A8742 contains mainly green color. Web safe color of #2A8742 is #339933 (or #393).

RGB color model

#2A8742 color RGB value is (42,135,66).

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

RGB channels and saturation

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

42
135
66

R + G + B ~ 32%. #2A8742 is quite dark color.

Portions of RGB colors in percentages

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

%17.28
%55.56
%27.16

CMYK color model

#2A8742 color CMYK value is (69,0,51,47).

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

CMYK percentages

%68.89
%0
%51.11
%47.06

Codes

Color #2A8742 in popluar color models

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

Color #2A8742 in popluar number systems.

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

Shades and tints

Shades of #2A8742

#2A8742
(42,135,66)
#277B3C
(39,123,60)
#246F36
(36,111,54)
#216330
(33,99,48)
#1E572A
(30,87,42)
#1B4B24
(27,75,36)
#183F1E
(24,63,30)
#153318
(21,51,24)
#122712
(18,39,18)
#0F1B0C
(15,27,12)
#0C0F06
(12,15,6)
#000000
(0,0,0)

Tints of #2A8742

#2A8742
(42,135,66)
#3D9153
(61,145,83)
#509B64
(80,155,100)
#63A575
(99,165,117)
#76AF86
(118,175,134)
#89B997
(137,185,151)
#9CC3A8
(156,195,168)
#AFCDB9
(175,205,185)
#C2D7CA
(194,215,202)
#D5E1DB
(213,225,219)
#E8EBEC
(232,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A8742; }

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

This text font color is #2A8742.

Background Color

.myBgColor { background-color: #2A8742; }

<div style="background-color:#2A8742">Inner text</div>

This div background color is #2A8742.

Border color

.myBorderColor { border: 1px solid #2A8742; }

<div style="border:3px solid #2A8742">Div</div>

This div border color is #2A8742.

Opacity

.myOpacity80 { color: #2A8742; opacity: 0.8; }

<p style="color:#2A8742;opacity:0.8;">80%</p>

Text with #2A8742 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 #2A8742;}

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

This text has shadow with #2A8742 color.


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

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

This text has shadow with #2A8742 primary color and red secondary color.


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

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

This text has shadow with #2A8742 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #2A8742.

Preview

Color preview on black background

This text has color #2A8742 on black background.


Color preview on white background

This text has color #2A8742 on white background.


Black color preview on #2A8742 background

This text has black color on #2A8742 background.


White color preview on #2A8742 background

This text has white color on #2A8742 background.


Related colors

Complementary color

Complementary color for #hex is #D578BD.


I love getcolorcode.com

Triadic colors

1 #422A87 and #87422A with #2A8742 are triadic colors.

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