COLOR #2A4E51

HEX: #2A4E51
RGB: (42,78,81)

Color info

#2A4E51 contains red, green and blue colors in about the same proportion. Web safe color of #2A4E51 is #336666 (or #366).

RGB color model

#2A4E51 color RGB value is (42,78,81).

  • red value is 42;
  • green value is 78;
  • blue value is 81.
RGB:
(42,78,81)
(16%,31%,32%)

RGB channels and saturation

R 42 of 255 = 16%
G 78 of 255 = 31%
B 81 of 255 = 32%

42
78
81

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

Portions of RGB colors in percentages

R + G + B =
42 + 78 + 81 = 201 (100%)
R 42 of 201 ~ 20.9%
G 78 of 201 ~ 38.81%
B 81 of 201 ~ 40.3%

%20.9
%38.81
%40.3

CMYK color model

#2A4E51 color CMYK value is (48,4,0,68).

  • cyan value is 48.15%
  • magenta value is 3.70%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(48,4,0,68)
C48M4Y0K68 
(48%,4%,0%,68%)
(0.48/0.04/0.00/0.68)	

CMYK percentages

%48.15
%3.7
%0
%68.24

Codes

Color #2A4E51 in popluar color models

2A4E51
RGB427881
HSL185°31.71%24.12%
HSB/HSV185°48.15%31.76%
CMYK48.15%3.70%0.00%
68.24%

Color #2A4E51 in popluar number systems.

HEX2A4E51
Decimal427881
Binary10101010011101010001
Octal52116121

Shades and tints

Shades of #2A4E51

#2A4E51
(42,78,81)
#27474A
(39,71,74)
#244043
(36,64,67)
#21393C
(33,57,60)
#1E3235
(30,50,53)
#1B2B2E
(27,43,46)
#182427
(24,36,39)
#151D20
(21,29,32)
#121619
(18,22,25)
#0F0F12
(15,15,18)
#0C080B
(12,8,11)
#000000
(0,0,0)

Tints of #2A4E51

#2A4E51
(42,78,81)
#3D5E60
(61,94,96)
#506E6F
(80,110,111)
#637E7E
(99,126,126)
#768E8D
(118,142,141)
#899E9C
(137,158,156)
#9CAEAB
(156,174,171)
#AFBEBA
(175,190,186)
#C2CEC9
(194,206,201)
#D5DED8
(213,222,216)
#E8EEE7
(232,238,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A4E51; }

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

This text font color is #2A4E51.


Background Color

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

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

This div background color is #2A4E51.


Border color

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

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

This div border color is #2A4E51.


Opacity

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

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

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

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

This text has shadow with #2A4E51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4E51 on black background.


Color preview on white background

This text has color #2A4E51 on white background.



Black color preview on #2A4E51 background

This text has black color on #2A4E51 background.


White color preview on #2A4E51 background

This text has white color on #2A4E51 background.