COLOR #2D4840

HEX: #2D4840
RGB: (45,72,64)

Color info

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

RGB color model

#2D4840 color RGB value is (45,72,64).

  • red value is 45;
  • green value is 72;
  • blue value is 64.
RGB:
(45,72,64)
(18%,28%,25%)

RGB channels and saturation

R 45 of 255 = 18%
G 72 of 255 = 28%
B 64 of 255 = 25%

45
72
64

R + G + B ~ 24%. #2D4840 is dark color.

Portions of RGB colors in percentages

R + G + B =
45 + 72 + 64 = 181 (100%)
R 45 of 181 ~ 24.86%
G 72 of 181 ~ 39.78%
B 64 of 181 ~ 35.36%

%24.86
%39.78
%35.36

CMYK color model

#2D4840 color CMYK value is (38,0,11,72).

  • cyan value is 37.50%
  • magenta value is 0.00%
  • yellow value is 11.11%
  • key color value is 71.76%
CMYK:
(38,0,11,72)
C38M0Y11K72 
(38%,0%,11%,72%)
(0.38/0.00/0.11/0.72)	

CMYK percentages

%37.5
%0
%11.11
%71.76

Codes

Color #2D4840 in popluar color models

2D4840
RGB457264
HSL162°23.08%22.94%
HSB/HSV162°37.50%28.24%
CMYK37.50%0.00%11.11%
71.76%

Color #2D4840 in popluar number systems.

HEX2D4840
Decimal457264
Binary10110110010001000000
Octal55110100

Shades and tints

Shades of #2D4840

#2D4840
(45,72,64)
#29423B
(41,66,59)
#253C36
(37,60,54)
#213631
(33,54,49)
#1D302C
(29,48,44)
#192A27
(25,42,39)
#152422
(21,36,34)
#111E1D
(17,30,29)
#0D1818
(13,24,24)
#091213
(9,18,19)
#050C0E
(5,12,14)
#000000
(0,0,0)

Tints of #2D4840

#2D4840
(45,72,64)
#405851
(64,88,81)
#536862
(83,104,98)
#667873
(102,120,115)
#798884
(121,136,132)
#8C9895
(140,152,149)
#9FA8A6
(159,168,166)
#B2B8B7
(178,184,183)
#C5C8C8
(197,200,200)
#D8D8D9
(216,216,217)
#EBE8EA
(235,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D4840 color. Also use rgb(45,72,64) instead hex code.

Text Font Color

.myTextColor { color: #2D4840; }

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

This text font color is #2D4840.


Background Color

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

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

This div background color is #2D4840.


Border color

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

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

This div border color is #2D4840.


Opacity

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

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

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

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

This text has shadow with #2D4840 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D4840 on black background.


Color preview on white background

This text has color #2D4840 on white background.



Black color preview on #2D4840 background

This text has black color on #2D4840 background.


White color preview on #2D4840 background

This text has white color on #2D4840 background.