COLOR #2A5062

HEX: #2A5062
RGB: (42,80,98)

Color info

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

RGB color model

#2A5062 color RGB value is (42,80,98).

  • red value is 42;
  • green value is 80;
  • blue value is 98.
RGB:
(42,80,98)
(16%,31%,38%)

RGB channels and saturation

R 42 of 255 = 16%
G 80 of 255 = 31%
B 98 of 255 = 38%

42
80
98

R + G + B ~ 28%. #2A5062 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 80 + 98 = 220 (100%)
R 42 of 220 ~ 19.09%
G 80 of 220 ~ 36.36%
B 98 of 220 ~ 44.55%

%19.09
%36.36
%44.55

CMYK color model

#2A5062 color CMYK value is (57,18,0,62).

  • cyan value is 57.14%
  • magenta value is 18.37%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(57,18,0,62)
C57M18Y0K62 
(57%,18%,0%,62%)
(0.57/0.18/0.00/0.62)	

CMYK percentages

%57.14
%18.37
%0
%61.57

Codes

Color #2A5062 in popluar color models

2A5062
RGB428098
HSL199°40.00%27.45%
HSB/HSV199°57.14%38.43%
CMYK57.14%18.37%0.00%
61.57%

Color #2A5062 in popluar number systems.

HEX2A5062
Decimal428098
Binary10101010100001100010
Octal52120142

Shades and tints

Shades of #2A5062

#2A5062
(42,80,98)
#27495A
(39,73,90)
#244252
(36,66,82)
#213B4A
(33,59,74)
#1E3442
(30,52,66)
#1B2D3A
(27,45,58)
#182632
(24,38,50)
#151F2A
(21,31,42)
#121822
(18,24,34)
#0F111A
(15,17,26)
#0C0A12
(12,10,18)
#000000
(0,0,0)

Tints of #2A5062

#2A5062
(42,80,98)
#3D5F70
(61,95,112)
#506E7E
(80,110,126)
#637D8C
(99,125,140)
#768C9A
(118,140,154)
#899BA8
(137,155,168)
#9CAAB6
(156,170,182)
#AFB9C4
(175,185,196)
#C2C8D2
(194,200,210)
#D5D7E0
(213,215,224)
#E8E6EE
(232,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5062 color. Also use rgb(42,80,98) instead hex code.

Text Font Color

.myTextColor { color: #2A5062; }

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

This text font color is #2A5062.


Background Color

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

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

This div background color is #2A5062.


Border color

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

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

This div border color is #2A5062.


Opacity

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

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

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

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

This text has shadow with #2A5062 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5062 on black background.


Color preview on white background

This text has color #2A5062 on white background.



Black color preview on #2A5062 background

This text has black color on #2A5062 background.


White color preview on #2A5062 background

This text has white color on #2A5062 background.