COLOR #2A4939

HEX: #2A4939
RGB: (42,73,57)

Color info

#2A4939 contains red, green and blue colors in about the same proportion. Web safe color of #2A4939 is #333333 (or #333).

RGB color model

#2A4939 color RGB value is (42,73,57).

  • red value is 42;
  • green value is 73;
  • blue value is 57.
RGB:
(42,73,57)
(16%,29%,22%)

RGB channels and saturation

R 42 of 255 = 16%
G 73 of 255 = 29%
B 57 of 255 = 22%

42
73
57

R + G + B ~ 22%. #2A4939 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 73 + 57 = 172 (100%)
R 42 of 172 ~ 24.42%
G 73 of 172 ~ 42.44%
B 57 of 172 ~ 33.14%

%24.42
%42.44
%33.14

CMYK color model

#2A4939 color CMYK value is (42,0,22,71).

  • cyan value is 42.47%
  • magenta value is 0.00%
  • yellow value is 21.92%
  • key color value is 71.37%
CMYK:
(42,0,22,71)
C42M0Y22K71 
(42%,0%,22%,71%)
(0.42/0.00/0.22/0.71)	

CMYK percentages

%42.47
%0
%21.92
%71.37

Codes

Color #2A4939 in popluar color models

2A4939
RGB427357
HSL149°26.96%22.55%
HSB/HSV149°42.47%28.63%
CMYK42.47%0.00%21.92%
71.37%

Color #2A4939 in popluar number systems.

HEX2A4939
Decimal427357
Binary1010101001001111001
Octal5211171

Shades and tints

Shades of #2A4939

#2A4939
(42,73,57)
#274334
(39,67,52)
#243D2F
(36,61,47)
#21372A
(33,55,42)
#1E3125
(30,49,37)
#1B2B20
(27,43,32)
#18251B
(24,37,27)
#151F16
(21,31,22)
#121911
(18,25,17)
#0F130C
(15,19,12)
#0C0D07
(12,13,7)
#000000
(0,0,0)

Tints of #2A4939

#2A4939
(42,73,57)
#3D594B
(61,89,75)
#50695D
(80,105,93)
#63796F
(99,121,111)
#768981
(118,137,129)
#899993
(137,153,147)
#9CA9A5
(156,169,165)
#AFB9B7
(175,185,183)
#C2C9C9
(194,201,201)
#D5D9DB
(213,217,219)
#E8E9ED
(232,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4939 color. Also use rgb(42,73,57) instead hex code.

Text Font Color

.myTextColor { color: #2A4939; }

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

This text font color is #2A4939.


Background Color

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

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

This div background color is #2A4939.


Border color

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

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

This div border color is #2A4939.


Opacity

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

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

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

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

This text has shadow with #2A4939 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4939 on black background.


Color preview on white background

This text has color #2A4939 on white background.



Black color preview on #2A4939 background

This text has black color on #2A4939 background.


White color preview on #2A4939 background

This text has white color on #2A4939 background.