COLOR #2A5175

HEX: #2A5175 RGB: (42,81,117)

Color info

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

RGB color model

#2A5175 color RGB value is (42,81,117).

RGB: (42,81,117) (16%, 32%, 46%)

RGB channels and saturation

R 42 of 255 = 16%
G 81 of 255 = 32%
B 117 of 255 = 46%

42
81
117

R + G + B ~ 31%. #2A5175 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 81 + 117 = 240 (100%)
R 42 of 240 ~ 17.5%
G 81 of 240 ~ 33.75%
B 117 of 240 ~ 48.75'%

%17.5
%33.75
%48.75

CMYK color model

#2A5175 color CMYK value is (64,31,0,54).

  • cyan value is 64.10%
  • magenta value is 30.77%
  • yellow value is 0.00%
  • key color value is 54.12%

CMYK: (64,31,0,54)
C64M31Y0K54 (64%, 31%, 0%, 54%)
(0.64 / 0.31 / 0.00 / 0.54)

CMYK percentages

%64.1
%30.77
%0
%54.12

Codes

Color #2A5175 in popluar color models

2A 51 75
RGB 42 81 117
HSL 209° 47.17% 31.18%
HSB/HSV 209° 64.10% 45.88%
CMYK 64.10% 30.77% 0.00%
54.12%

Color #2A5175 in popluar number systems.

HEX 2A 51 75
Decimal 42 81 117
Binary 101010 1010001 1110101
Octal 52 121 165

Shades and tints

Shades of #2A5175

#2A5175
(42,81,117)
#274A6B
(39,74,107)
#244361
(36,67,97)
#213C57
(33,60,87)
#1E354D
(30,53,77)
#1B2E43
(27,46,67)
#182739
(24,39,57)
#15202F
(21,32,47)
#121925
(18,25,37)
#0F121B
(15,18,27)
#0C0B11
(12,11,17)
#000000
(0,0,0)

Tints of #2A5175

#2A5175
(42,81,117)
#3D6081
(61,96,129)
#506F8D
(80,111,141)
#637E99
(99,126,153)
#768DA5
(118,141,165)
#899CB1
(137,156,177)
#9CABBD
(156,171,189)
#AFBAC9
(175,186,201)
#C2C9D5
(194,201,213)
#D5D8E1
(213,216,225)
#E8E7ED
(232,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A5175; }

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

This text font color is #2A5175.

Background Color

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

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

This div background color is #2A5175.

Border color

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

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

This div border color is #2A5175.

Opacity

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

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

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

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

This text has shadow with #2A5175 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A5175.

Preview

Color preview on black background

This text has color #2A5175 on black background.


Color preview on white background

This text has color #2A5175 on white background.


Black color preview on #2A5175 background

This text has black color on #2A5175 background.


White color preview on #2A5175 background

This text has white color on #2A5175 background.


Related colors

Complementary color

Complementary color for #hex is #D5AE8A.


I love getcolorcode.com

Triadic colors

1 #752A51 and #51752A with #2A5175 are triadic colors.

2 #75512A and #512A75 with #2A5175 are triadic colors.