COLOR #2A472A

HEX: #2A472A
RGB: (42,71,42)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

42
71
42

R + G + B ~ 20%. #2A472A is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 71 + 42 = 155 (100%)
R 42 of 155 ~ 27.1%
G 71 of 155 ~ 45.81%
B 42 of 155 ~ 27.1%

%27.1
%45.81
%27.1

CMYK color model

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

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

CMYK percentages

%40.85
%0
%40.85
%72.16

Codes

Color #2A472A in popluar color models

2A472A
RGB427142
HSL120°25.66%22.16%
HSB/HSV120°40.85%27.84%
CMYK40.85%0.00%40.85%
72.16%

Color #2A472A in popluar number systems.

HEX2A472A
Decimal427142
Binary1010101000111101010
Octal5210752

Shades and tints

Shades of #2A472A

#2A472A
(42,71,42)
#274127
(39,65,39)
#243B24
(36,59,36)
#213521
(33,53,33)
#1E2F1E
(30,47,30)
#1B291B
(27,41,27)
#182318
(24,35,24)
#151D15
(21,29,21)
#121712
(18,23,18)
#0F110F
(15,17,15)
#0C0B0C
(12,11,12)
#000000
(0,0,0)

Tints of #2A472A

#2A472A
(42,71,42)
#3D573D
(61,87,61)
#506750
(80,103,80)
#637763
(99,119,99)
#768776
(118,135,118)
#899789
(137,151,137)
#9CA79C
(156,167,156)
#AFB7AF
(175,183,175)
#C2C7C2
(194,199,194)
#D5D7D5
(213,215,213)
#E8E7E8
(232,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A472A; }

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

This text font color is #2A472A.


Background Color

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

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

This div background color is #2A472A.


Border color

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

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

This div border color is #2A472A.


Opacity

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

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

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

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

This text has shadow with #2A472A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A472A on black background.


Color preview on white background

This text has color #2A472A on white background.



Black color preview on #2A472A background

This text has black color on #2A472A background.


White color preview on #2A472A background

This text has white color on #2A472A background.