COLOR #2A4A75

HEX: #2A4A75
RGB: (42,74,117)

Color info

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

RGB color model

#2A4A75 color RGB value is (42,74,117).

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

RGB channels and saturation

R 42 of 255 = 16%
G 74 of 255 = 29%
B 117 of 255 = 46%

42
74
117

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

Portions of RGB colors in percentages

R + G + B =
42 + 74 + 117 = 233 (100%)
R 42 of 233 ~ 18.03%
G 74 of 233 ~ 31.76%
B 117 of 233 ~ 50.21%

%18.03
%31.76
%50.21

CMYK color model

#2A4A75 color CMYK value is (64,37,0,54).

  • cyan value is 64.10%
  • magenta value is 36.75%
  • yellow value is 0.00%
  • key color value is 54.12%
CMYK:
(64,37,0,54)
C64M37Y0K54 
(64%,37%,0%,54%)
(0.64/0.37/0.00/0.54)	

CMYK percentages

%64.1
%36.75
%0
%54.12

Codes

Color #2A4A75 in popluar color models

2A4A75
RGB4274117
HSL214°47.17%31.18%
HSB/HSV214°64.10%45.88%
CMYK64.10%36.75%0.00%
54.12%

Color #2A4A75 in popluar number systems.

HEX2A4A75
Decimal4274117
Binary10101010010101110101
Octal52112165

Shades and tints

Shades of #2A4A75

#2A4A75
(42,74,117)
#27446B
(39,68,107)
#243E61
(36,62,97)
#213857
(33,56,87)
#1E324D
(30,50,77)
#1B2C43
(27,44,67)
#182639
(24,38,57)
#15202F
(21,32,47)
#121A25
(18,26,37)
#0F141B
(15,20,27)
#0C0E11
(12,14,17)
#000000
(0,0,0)

Tints of #2A4A75

#2A4A75
(42,74,117)
#3D5A81
(61,90,129)
#506A8D
(80,106,141)
#637A99
(99,122,153)
#768AA5
(118,138,165)
#899AB1
(137,154,177)
#9CAABD
(156,170,189)
#AFBAC9
(175,186,201)
#C2CAD5
(194,202,213)
#D5DAE1
(213,218,225)
#E8EAED
(232,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A4A75; }

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

This text font color is #2A4A75.


Background Color

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

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

This div background color is #2A4A75.


Border color

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

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

This div border color is #2A4A75.


Opacity

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

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

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

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

This text has shadow with #2A4A75 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4A75 on black background.


Color preview on white background

This text has color #2A4A75 on white background.



Black color preview on #2A4A75 background

This text has black color on #2A4A75 background.


White color preview on #2A4A75 background

This text has white color on #2A4A75 background.