COLOR #2A472F

HEX: #2A472F
RGB: (42,71,47)

Color info

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

RGB color model

#2A472F color RGB value is (42,71,47).

  • red value is 42;
  • green value is 71;
  • blue value is 47.
RGB:
(42,71,47)
(16%,28%,18%)

RGB channels and saturation

R 42 of 255 = 16%
G 71 of 255 = 28%
B 47 of 255 = 18%

42
71
47

R + G + B ~ 21%. #2A472F is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 71 + 47 = 160 (100%)
R 42 of 160 ~ 26.25%
G 71 of 160 ~ 44.38%
B 47 of 160 ~ 29.38%

%26.25
%44.38
%29.38

CMYK color model

#2A472F color CMYK value is (41,0,34,72).

  • cyan value is 40.85%
  • magenta value is 0.00%
  • yellow value is 33.80%
  • key color value is 72.16%
CMYK:
(41,0,34,72)
C41M0Y34K72 
(41%,0%,34%,72%)
(0.41/0.00/0.34/0.72)	

CMYK percentages

%40.85
%0
%33.8
%72.16

Codes

Color #2A472F in popluar color models

2A472F
RGB427147
HSL130°25.66%22.16%
HSB/HSV130°40.85%27.84%
CMYK40.85%0.00%33.80%
72.16%

Color #2A472F in popluar number systems.

HEX2A472F
Decimal427147
Binary1010101000111101111
Octal5210757

Shades and tints

Shades of #2A472F

#2A472F
(42,71,47)
#27412B
(39,65,43)
#243B27
(36,59,39)
#213523
(33,53,35)
#1E2F1F
(30,47,31)
#1B291B
(27,41,27)
#182317
(24,35,23)
#151D13
(21,29,19)
#12170F
(18,23,15)
#0F110B
(15,17,11)
#0C0B07
(12,11,7)
#000000
(0,0,0)

Tints of #2A472F

#2A472F
(42,71,47)
#3D5741
(61,87,65)
#506753
(80,103,83)
#637765
(99,119,101)
#768777
(118,135,119)
#899789
(137,151,137)
#9CA79B
(156,167,155)
#AFB7AD
(175,183,173)
#C2C7BF
(194,199,191)
#D5D7D1
(213,215,209)
#E8E7E3
(232,231,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A472F color. Also use rgb(42,71,47) instead hex code.

Text Font Color

.myTextColor { color: #2A472F; }

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

This text font color is #2A472F.


Background Color

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

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

This div background color is #2A472F.


Border color

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

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

This div border color is #2A472F.


Opacity

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

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

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

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

This text has shadow with #2A472F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A472F on black background.


Color preview on white background

This text has color #2A472F on white background.



Black color preview on #2A472F background

This text has black color on #2A472F background.


White color preview on #2A472F background

This text has white color on #2A472F background.