COLOR #2A7442

HEX: #2A7442
RGB: (42,116,66)

Color info

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

RGB color model

#2A7442 color RGB value is (42,116,66).

  • red value is 42;
  • green value is 116;
  • blue value is 66.
RGB:
(42,116,66)
(16%,45%,26%)

RGB channels and saturation

R 42 of 255 = 16%
G 116 of 255 = 45%
B 66 of 255 = 26%

42
116
66

R + G + B ~ 29%. #2A7442 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 116 + 66 = 224 (100%)
R 42 of 224 ~ 18.75%
G 116 of 224 ~ 51.79%
B 66 of 224 ~ 29.46%

%18.75
%51.79
%29.46

CMYK color model

#2A7442 color CMYK value is (64,0,43,55).

  • cyan value is 63.79%
  • magenta value is 0.00%
  • yellow value is 43.10%
  • key color value is 54.51%
CMYK:
(64,0,43,55)
C64M0Y43K55 
(64%,0%,43%,55%)
(0.64/0.00/0.43/0.55)	

CMYK percentages

%63.79
%0
%43.1
%54.51

Codes

Color #2A7442 in popluar color models

2A7442
RGB4211666
HSL139°46.84%30.98%
HSB/HSV139°63.79%45.49%
CMYK63.79%0.00%43.10%
54.51%

Color #2A7442 in popluar number systems.

HEX2A7442
Decimal4211666
Binary10101011101001000010
Octal52164102

Shades and tints

Shades of #2A7442

#2A7442
(42,116,66)
#276A3C
(39,106,60)
#246036
(36,96,54)
#215630
(33,86,48)
#1E4C2A
(30,76,42)
#1B4224
(27,66,36)
#18381E
(24,56,30)
#152E18
(21,46,24)
#122412
(18,36,18)
#0F1A0C
(15,26,12)
#0C1006
(12,16,6)
#000000
(0,0,0)

Tints of #2A7442

#2A7442
(42,116,66)
#3D8053
(61,128,83)
#508C64
(80,140,100)
#639875
(99,152,117)
#76A486
(118,164,134)
#89B097
(137,176,151)
#9CBCA8
(156,188,168)
#AFC8B9
(175,200,185)
#C2D4CA
(194,212,202)
#D5E0DB
(213,224,219)
#E8ECEC
(232,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A7442; }

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

This text font color is #2A7442.


Background Color

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

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

This div background color is #2A7442.


Border color

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

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

This div border color is #2A7442.


Opacity

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

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

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

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

This text has shadow with #2A7442 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A7442 on black background.


Color preview on white background

This text has color #2A7442 on white background.



Black color preview on #2A7442 background

This text has black color on #2A7442 background.


White color preview on #2A7442 background

This text has white color on #2A7442 background.