COLOR #2A4252

HEX: #2A4252
RGB: (42,66,82)

Color info

#2A4252 contains red, green and blue colors in about the same proportion. Web safe color of #2A4252 is #333366 (or #336).

RGB color model

#2A4252 color RGB value is (42,66,82).

  • red value is 42;
  • green value is 66;
  • blue value is 82.
RGB:
(42,66,82)
(16%,26%,32%)

RGB channels and saturation

R 42 of 255 = 16%
G 66 of 255 = 26%
B 82 of 255 = 32%

42
66
82

R + G + B ~ 25%. #2A4252 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 66 + 82 = 190 (100%)
R 42 of 190 ~ 22.11%
G 66 of 190 ~ 34.74%
B 82 of 190 ~ 43.16%

%22.11
%34.74
%43.16

CMYK color model

#2A4252 color CMYK value is (49,20,0,68).

  • cyan value is 48.78%
  • magenta value is 19.51%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(49,20,0,68)
C49M20Y0K68 
(49%,20%,0%,68%)
(0.49/0.20/0.00/0.68)	

CMYK percentages

%48.78
%19.51
%0
%67.84

Codes

Color #2A4252 in popluar color models

2A4252
RGB426682
HSL204°32.26%24.31%
HSB/HSV204°48.78%32.16%
CMYK48.78%19.51%0.00%
67.84%

Color #2A4252 in popluar number systems.

HEX2A4252
Decimal426682
Binary10101010000101010010
Octal52102122

Shades and tints

Shades of #2A4252

#2A4252
(42,66,82)
#273C4B
(39,60,75)
#243644
(36,54,68)
#21303D
(33,48,61)
#1E2A36
(30,42,54)
#1B242F
(27,36,47)
#181E28
(24,30,40)
#151821
(21,24,33)
#12121A
(18,18,26)
#0F0C13
(15,12,19)
#0C060C
(12,6,12)
#000000
(0,0,0)

Tints of #2A4252

#2A4252
(42,66,82)
#3D5361
(61,83,97)
#506470
(80,100,112)
#63757F
(99,117,127)
#76868E
(118,134,142)
#89979D
(137,151,157)
#9CA8AC
(156,168,172)
#AFB9BB
(175,185,187)
#C2CACA
(194,202,202)
#D5DBD9
(213,219,217)
#E8ECE8
(232,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A4252; }

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

This text font color is #2A4252.


Background Color

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

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

This div background color is #2A4252.


Border color

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

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

This div border color is #2A4252.


Opacity

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

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

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

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

This text has shadow with #2A4252 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4252 on black background.


Color preview on white background

This text has color #2A4252 on white background.



Black color preview on #2A4252 background

This text has black color on #2A4252 background.


White color preview on #2A4252 background

This text has white color on #2A4252 background.