COLOR #3A7842

HEX: #3A7842
RGB: (58,120,66)

Color info

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

RGB color model

#3A7842 color RGB value is (58,120,66).

  • red value is 58;
  • green value is 120;
  • blue value is 66.
RGB:
(58,120,66)
(23%,47%,26%)

RGB channels and saturation

R 58 of 255 = 23%
G 120 of 255 = 47%
B 66 of 255 = 26%

58
120
66

R + G + B ~ 32%. #3A7842 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 120 + 66 = 244 (100%)
R 58 of 244 ~ 23.77%
G 120 of 244 ~ 49.18%
B 66 of 244 ~ 27.05%

%23.77
%49.18
%27.05

CMYK color model

#3A7842 color CMYK value is (52,0,45,53).

  • cyan value is 51.67%
  • magenta value is 0.00%
  • yellow value is 45.00%
  • key color value is 52.94%
CMYK:
(52,0,45,53)
C52M0Y45K53 
(52%,0%,45%,53%)
(0.52/0.00/0.45/0.53)	

CMYK percentages

%51.67
%0
%45
%52.94

Codes

Color #3A7842 in popluar color models

3A7842
RGB5812066
HSL128°34.83%34.90%
HSB/HSV128°51.67%47.06%
CMYK51.67%0.00%45.00%
52.94%

Color #3A7842 in popluar number systems.

HEX3A7842
Decimal5812066
Binary11101011110001000010
Octal72170102

Shades and tints

Shades of #3A7842

#3A7842
(58,120,66)
#356E3C
(53,110,60)
#306436
(48,100,54)
#2B5A30
(43,90,48)
#26502A
(38,80,42)
#214624
(33,70,36)
#1C3C1E
(28,60,30)
#173218
(23,50,24)
#122812
(18,40,18)
#0D1E0C
(13,30,12)
#081406
(8,20,6)
#000000
(0,0,0)

Tints of #3A7842

#3A7842
(58,120,66)
#4B8453
(75,132,83)
#5C9064
(92,144,100)
#6D9C75
(109,156,117)
#7EA886
(126,168,134)
#8FB497
(143,180,151)
#A0C0A8
(160,192,168)
#B1CCB9
(177,204,185)
#C2D8CA
(194,216,202)
#D3E4DB
(211,228,219)
#E4F0EC
(228,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3A7842 color. Also use rgb(58,120,66) instead hex code.

Text Font Color

.myTextColor { color: #3A7842; }

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

This text font color is #3A7842.


Background Color

.myBgColor { background-color: #3A7842; }

<div style="background-color:#3A7842">Inner text</div>

This div background color is #3A7842.


Border color

.myBorderColor { border: 1px solid #3A7842; }

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

This div border color is #3A7842.


Opacity

.myOpacity80 { color: #3A7842; opacity: 0.8; }

<p style="color:#3A7842;opacity:0.8;">80%</p>

Text with #3A7842 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 #3A7842;}

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

This text has shadow with #3A7842 color.

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

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

This text has shadow with #3A7842 primary color and red secondary color.


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

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

This text has shadow with #3A7842 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A7842 on black background.


Color preview on white background

This text has color #3A7842 on white background.



Black color preview on #3A7842 background

This text has black color on #3A7842 background.


White color preview on #3A7842 background

This text has white color on #3A7842 background.