COLOR #2A442A

HEX: #2A442A
RGB: (42,68,42)

Color info

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

RGB color model

#2A442A color RGB value is (42,68,42).

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

RGB channels and saturation

R 42 of 255 = 16%
G 68 of 255 = 27%
B 42 of 255 = 16%

42
68
42

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

Portions of RGB colors in percentages

R + G + B =
42 + 68 + 42 = 152 (100%)
R 42 of 152 ~ 27.63%
G 68 of 152 ~ 44.74%
B 42 of 152 ~ 27.63%

%27.63
%44.74
%27.63

CMYK color model

#2A442A color CMYK value is (38,0,38,73).

  • cyan value is 38.24%
  • magenta value is 0.00%
  • yellow value is 38.24%
  • key color value is 73.33%
CMYK:
(38,0,38,73)
C38M0Y38K73 
(38%,0%,38%,73%)
(0.38/0.00/0.38/0.73)	

CMYK percentages

%38.24
%0
%38.24
%73.33

Codes

Color #2A442A in popluar color models

2A442A
RGB426842
HSL120°23.64%21.57%
HSB/HSV120°38.24%26.67%
CMYK38.24%0.00%38.24%
73.33%

Color #2A442A in popluar number systems.

HEX2A442A
Decimal426842
Binary1010101000100101010
Octal5210452

Shades and tints

Shades of #2A442A

#2A442A
(42,68,42)
#273E27
(39,62,39)
#243824
(36,56,36)
#213221
(33,50,33)
#1E2C1E
(30,44,30)
#1B261B
(27,38,27)
#182018
(24,32,24)
#151A15
(21,26,21)
#121412
(18,20,18)
#0F0E0F
(15,14,15)
#0C080C
(12,8,12)
#000000
(0,0,0)

Tints of #2A442A

#2A442A
(42,68,42)
#3D553D
(61,85,61)
#506650
(80,102,80)
#637763
(99,119,99)
#768876
(118,136,118)
#899989
(137,153,137)
#9CAA9C
(156,170,156)
#AFBBAF
(175,187,175)
#C2CCC2
(194,204,194)
#D5DDD5
(213,221,213)
#E8EEE8
(232,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A442A; }

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

This text font color is #2A442A.


Background Color

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

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

This div background color is #2A442A.


Border color

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

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

This div border color is #2A442A.


Opacity

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

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

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

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

This text has shadow with #2A442A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A442A on black background.


Color preview on white background

This text has color #2A442A on white background.



Black color preview on #2A442A background

This text has black color on #2A442A background.


White color preview on #2A442A background

This text has white color on #2A442A background.