COLOR #2A4858

HEX: #2A4858 RGB: (42,72,88)

Color info

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

RGB color model

#2A4858 color RGB value is (42,72,88).

RGB: (42,72,88) (16%, 28%, 35%)

RGB channels and saturation

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

42
72
88

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

Portions of RGB colors in percentages

R + G + B = 42 + 72 + 88 = 202 (100%)
R 42 of 202 ~ 20.79%
G 72 of 202 ~ 35.64%
B 88 of 202 ~ 43.56'%

%20.79
%35.64
%43.56

CMYK color model

#2A4858 color CMYK value is (52,18,0,65).

  • cyan value is 52.27%
  • magenta value is 18.18%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (52,18,0,65)
C52M18Y0K65 (52%, 18%, 0%, 65%)
(0.52 / 0.18 / 0.00 / 0.65)

CMYK percentages

%52.27
%18.18
%0
%65.49

Codes

Color #2A4858 in popluar color models

2A 48 58
RGB 42 72 88
HSL 201° 35.38% 25.49%
HSB/HSV 201° 52.27% 34.51%
CMYK 52.27% 18.18% 0.00%
65.49%

Color #2A4858 in popluar number systems.

HEX 2A 48 58
Decimal 42 72 88
Binary 101010 1001000 1011000
Octal 52 110 130

Shades and tints

Shades of #2A4858

#2A4858
(42,72,88)
#274250
(39,66,80)
#243C48
(36,60,72)
#213640
(33,54,64)
#1E3038
(30,48,56)
#1B2A30
(27,42,48)
#182428
(24,36,40)
#151E20
(21,30,32)
#121818
(18,24,24)
#0F1210
(15,18,16)
#0C0C08
(12,12,8)
#000000
(0,0,0)

Tints of #2A4858

#2A4858
(42,72,88)
#3D5867
(61,88,103)
#506876
(80,104,118)
#637885
(99,120,133)
#768894
(118,136,148)
#8998A3
(137,152,163)
#9CA8B2
(156,168,178)
#AFB8C1
(175,184,193)
#C2C8D0
(194,200,208)
#D5D8DF
(213,216,223)
#E8E8EE
(232,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A4858; }

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

This text font color is #2A4858.

Background Color

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

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

This div background color is #2A4858.

Border color

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

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

This div border color is #2A4858.

Opacity

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

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

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

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

This text has shadow with #2A4858 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A4858.

Preview

Color preview on black background

This text has color #2A4858 on black background.


Color preview on white background

This text has color #2A4858 on white background.


Black color preview on #2A4858 background

This text has black color on #2A4858 background.


White color preview on #2A4858 background

This text has white color on #2A4858 background.


Related colors

Complementary color

Complementary color for #hex is #D5B7A7.


I love getcolorcode.com

Triadic colors

1 #582A48 and #48582A with #2A4858 are triadic colors.

2 #58482A and #482A58 with #2A4858 are triadic colors.