COLOR #2A4A6E

HEX: #2A4A6E
RGB: (42,74,110)

Color info

#2A4A6E contains mainly green and blue colors. Web safe color of #2A4A6E is #333366 (or #336).

RGB color model

#2A4A6E color RGB value is (42,74,110).

  • red value is 42;
  • green value is 74;
  • blue value is 110.
RGB:
(42,74,110)
(16%,29%,43%)

RGB channels and saturation

R 42 of 255 = 16%
G 74 of 255 = 29%
B 110 of 255 = 43%

42
74
110

R + G + B ~ 29%. #2A4A6E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 74 + 110 = 226 (100%)
R 42 of 226 ~ 18.58%
G 74 of 226 ~ 32.74%
B 110 of 226 ~ 48.67%

%18.58
%32.74
%48.67

CMYK color model

#2A4A6E color CMYK value is (62,33,0,57).

  • cyan value is 61.82%
  • magenta value is 32.73%
  • yellow value is 0.00%
  • key color value is 56.86%
CMYK:
(62,33,0,57)
C62M33Y0K57 
(62%,33%,0%,57%)
(0.62/0.33/0.00/0.57)	

CMYK percentages

%61.82
%32.73
%0
%56.86

Codes

Color #2A4A6E in popluar color models

2A4A6E
RGB4274110
HSL212°44.74%29.80%
HSB/HSV212°61.82%43.14%
CMYK61.82%32.73%0.00%
56.86%

Color #2A4A6E in popluar number systems.

HEX2A4A6E
Decimal4274110
Binary10101010010101101110
Octal52112156

Shades and tints

Shades of #2A4A6E

#2A4A6E
(42,74,110)
#274464
(39,68,100)
#243E5A
(36,62,90)
#213850
(33,56,80)
#1E3246
(30,50,70)
#1B2C3C
(27,44,60)
#182632
(24,38,50)
#152028
(21,32,40)
#121A1E
(18,26,30)
#0F1414
(15,20,20)
#0C0E0A
(12,14,10)
#000000
(0,0,0)

Tints of #2A4A6E

#2A4A6E
(42,74,110)
#3D5A7B
(61,90,123)
#506A88
(80,106,136)
#637A95
(99,122,149)
#768AA2
(118,138,162)
#899AAF
(137,154,175)
#9CAABC
(156,170,188)
#AFBAC9
(175,186,201)
#C2CAD6
(194,202,214)
#D5DAE3
(213,218,227)
#E8EAF0
(232,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4A6E color. Also use rgb(42,74,110) instead hex code.

Text Font Color

.myTextColor { color: #2A4A6E; }

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

This text font color is #2A4A6E.


Background Color

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

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

This div background color is #2A4A6E.


Border color

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

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

This div border color is #2A4A6E.


Opacity

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

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

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

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

This text has shadow with #2A4A6E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4A6E on black background.


Color preview on white background

This text has color #2A4A6E on white background.



Black color preview on #2A4A6E background

This text has black color on #2A4A6E background.


White color preview on #2A4A6E background

This text has white color on #2A4A6E background.