COLOR #2A5948

HEX: #2A5948
RGB: (42,89,72)

Color info

#2A5948 contains red, green and blue colors in about the same proportion. Web safe color of #2A5948 is #336633 (or #363).

RGB color model

#2A5948 color RGB value is (42,89,72).

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

RGB channels and saturation

R 42 of 255 = 16%
G 89 of 255 = 35%
B 72 of 255 = 28%

42
89
72

R + G + B ~ 26%. #2A5948 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 89 + 72 = 203 (100%)
R 42 of 203 ~ 20.69%
G 89 of 203 ~ 43.84%
B 72 of 203 ~ 35.47%

%20.69
%43.84
%35.47

CMYK color model

#2A5948 color CMYK value is (53,0,19,65).

  • cyan value is 52.81%
  • magenta value is 0.00%
  • yellow value is 19.10%
  • key color value is 65.10%
CMYK:
(53,0,19,65)
C53M0Y19K65 
(53%,0%,19%,65%)
(0.53/0.00/0.19/0.65)	

CMYK percentages

%52.81
%0
%19.1
%65.1

Codes

Color #2A5948 in popluar color models

2A5948
RGB428972
HSL158°35.88%25.69%
HSB/HSV158°52.81%34.90%
CMYK52.81%0.00%19.10%
65.10%

Color #2A5948 in popluar number systems.

HEX2A5948
Decimal428972
Binary10101010110011001000
Octal52131110

Shades and tints

Shades of #2A5948

#2A5948
(42,89,72)
#275142
(39,81,66)
#24493C
(36,73,60)
#214136
(33,65,54)
#1E3930
(30,57,48)
#1B312A
(27,49,42)
#182924
(24,41,36)
#15211E
(21,33,30)
#121918
(18,25,24)
#0F1112
(15,17,18)
#0C090C
(12,9,12)
#000000
(0,0,0)

Tints of #2A5948

#2A5948
(42,89,72)
#3D6858
(61,104,88)
#507768
(80,119,104)
#638678
(99,134,120)
#769588
(118,149,136)
#89A498
(137,164,152)
#9CB3A8
(156,179,168)
#AFC2B8
(175,194,184)
#C2D1C8
(194,209,200)
#D5E0D8
(213,224,216)
#E8EFE8
(232,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A5948; }

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

This text font color is #2A5948.


Background Color

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

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

This div background color is #2A5948.


Border color

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

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

This div border color is #2A5948.


Opacity

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

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

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

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

This text has shadow with #2A5948 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5948 on black background.


Color preview on white background

This text has color #2A5948 on white background.



Black color preview on #2A5948 background

This text has black color on #2A5948 background.


White color preview on #2A5948 background

This text has white color on #2A5948 background.