COLOR #2A4837

HEX: #2A4837
RGB: (42,72,55)

Color info

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

RGB color model

#2A4837 color RGB value is (42,72,55).

  • red value is 42;
  • green value is 72;
  • blue value is 55.
RGB:
(42,72,55)
(16%,28%,22%)

RGB channels and saturation

R 42 of 255 = 16%
G 72 of 255 = 28%
B 55 of 255 = 22%

42
72
55

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

Portions of RGB colors in percentages

R + G + B =
42 + 72 + 55 = 169 (100%)
R 42 of 169 ~ 24.85%
G 72 of 169 ~ 42.6%
B 55 of 169 ~ 32.54%

%24.85
%42.6
%32.54

CMYK color model

#2A4837 color CMYK value is (42,0,24,72).

  • cyan value is 41.67%
  • magenta value is 0.00%
  • yellow value is 23.61%
  • key color value is 71.76%
CMYK:
(42,0,24,72)
C42M0Y24K72 
(42%,0%,24%,72%)
(0.42/0.00/0.24/0.72)	

CMYK percentages

%41.67
%0
%23.61
%71.76

Codes

Color #2A4837 in popluar color models

2A4837
RGB427255
HSL146°26.32%22.35%
HSB/HSV146°41.67%28.24%
CMYK41.67%0.00%23.61%
71.76%

Color #2A4837 in popluar number systems.

HEX2A4837
Decimal427255
Binary1010101001000110111
Octal5211067

Shades and tints

Shades of #2A4837

#2A4837
(42,72,55)
#274232
(39,66,50)
#243C2D
(36,60,45)
#213628
(33,54,40)
#1E3023
(30,48,35)
#1B2A1E
(27,42,30)
#182419
(24,36,25)
#151E14
(21,30,20)
#12180F
(18,24,15)
#0F120A
(15,18,10)
#0C0C05
(12,12,5)
#000000
(0,0,0)

Tints of #2A4837

#2A4837
(42,72,55)
#3D5849
(61,88,73)
#50685B
(80,104,91)
#63786D
(99,120,109)
#76887F
(118,136,127)
#899891
(137,152,145)
#9CA8A3
(156,168,163)
#AFB8B5
(175,184,181)
#C2C8C7
(194,200,199)
#D5D8D9
(213,216,217)
#E8E8EB
(232,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4837 color. Also use rgb(42,72,55) instead hex code.

Text Font Color

.myTextColor { color: #2A4837; }

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

This text font color is #2A4837.


Background Color

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

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

This div background color is #2A4837.


Border color

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

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

This div border color is #2A4837.


Opacity

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

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

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

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

This text has shadow with #2A4837 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4837 on black background.


Color preview on white background

This text has color #2A4837 on white background.



Black color preview on #2A4837 background

This text has black color on #2A4837 background.


White color preview on #2A4837 background

This text has white color on #2A4837 background.