COLOR #2A506A

HEX: #2A506A
RGB: (42,80,106)

Color info

#2A506A contains mainly green and blue colors. Web safe color of #2A506A is #336666 (or #366).

RGB color model

#2A506A color RGB value is (42,80,106).

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

RGB channels and saturation

R 42 of 255 = 16%
G 80 of 255 = 31%
B 106 of 255 = 42%

42
80
106

R + G + B ~ 30%. #2A506A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 80 + 106 = 228 (100%)
R 42 of 228 ~ 18.42%
G 80 of 228 ~ 35.09%
B 106 of 228 ~ 46.49%

%18.42
%35.09
%46.49

CMYK color model

#2A506A color CMYK value is (60,25,0,58).

  • cyan value is 60.38%
  • magenta value is 24.53%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK:
(60,25,0,58)
C60M25Y0K58 
(60%,25%,0%,58%)
(0.60/0.25/0.00/0.58)	

CMYK percentages

%60.38
%24.53
%0
%58.43

Codes

Color #2A506A in popluar color models

2A506A
RGB4280106
HSL204°43.24%29.02%
HSB/HSV204°60.38%41.57%
CMYK60.38%24.53%0.00%
58.43%

Color #2A506A in popluar number systems.

HEX2A506A
Decimal4280106
Binary10101010100001101010
Octal52120152

Shades and tints

Shades of #2A506A

#2A506A
(42,80,106)
#274961
(39,73,97)
#244258
(36,66,88)
#213B4F
(33,59,79)
#1E3446
(30,52,70)
#1B2D3D
(27,45,61)
#182634
(24,38,52)
#151F2B
(21,31,43)
#121822
(18,24,34)
#0F1119
(15,17,25)
#0C0A10
(12,10,16)
#000000
(0,0,0)

Tints of #2A506A

#2A506A
(42,80,106)
#3D5F77
(61,95,119)
#506E84
(80,110,132)
#637D91
(99,125,145)
#768C9E
(118,140,158)
#899BAB
(137,155,171)
#9CAAB8
(156,170,184)
#AFB9C5
(175,185,197)
#C2C8D2
(194,200,210)
#D5D7DF
(213,215,223)
#E8E6EC
(232,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A506A; }

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

This text font color is #2A506A.


Background Color

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

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

This div background color is #2A506A.


Border color

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

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

This div border color is #2A506A.


Opacity

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

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

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

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

This text has shadow with #2A506A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A506A on black background.


Color preview on white background

This text has color #2A506A on white background.



Black color preview on #2A506A background

This text has black color on #2A506A background.


White color preview on #2A506A background

This text has white color on #2A506A background.