COLOR #3A5178

HEX: #3A5178
RGB: (58,81,120)

Color info

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

RGB color model

#3A5178 color RGB value is (58,81,120).

  • red value is 58;
  • green value is 81;
  • blue value is 120.
RGB:
(58,81,120)
(23%,32%,47%)

RGB channels and saturation

R 58 of 255 = 23%
G 81 of 255 = 32%
B 120 of 255 = 47%

58
81
120

R + G + B ~ 34%. #3A5178 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 81 + 120 = 259 (100%)
R 58 of 259 ~ 22.39%
G 81 of 259 ~ 31.27%
B 120 of 259 ~ 46.33%

%22.39
%31.27
%46.33

CMYK color model

#3A5178 color CMYK value is (52,33,0,53).

  • cyan value is 51.67%
  • magenta value is 32.50%
  • yellow value is 0.00%
  • key color value is 52.94%
CMYK:
(52,33,0,53)
C52M33Y0K53 
(52%,33%,0%,53%)
(0.52/0.33/0.00/0.53)	

CMYK percentages

%51.67
%32.5
%0
%52.94

Codes

Color #3A5178 in popluar color models

3A5178
RGB5881120
HSL218°34.83%34.90%
HSB/HSV218°51.67%47.06%
CMYK51.67%32.50%0.00%
52.94%

Color #3A5178 in popluar number systems.

HEX3A5178
Decimal5881120
Binary11101010100011111000
Octal72121170

Shades and tints

Shades of #3A5178

#3A5178
(58,81,120)
#354A6E
(53,74,110)
#304364
(48,67,100)
#2B3C5A
(43,60,90)
#263550
(38,53,80)
#212E46
(33,46,70)
#1C273C
(28,39,60)
#172032
(23,32,50)
#121928
(18,25,40)
#0D121E
(13,18,30)
#080B14
(8,11,20)
#000000
(0,0,0)

Tints of #3A5178

#3A5178
(58,81,120)
#4B6084
(75,96,132)
#5C6F90
(92,111,144)
#6D7E9C
(109,126,156)
#7E8DA8
(126,141,168)
#8F9CB4
(143,156,180)
#A0ABC0
(160,171,192)
#B1BACC
(177,186,204)
#C2C9D8
(194,201,216)
#D3D8E4
(211,216,228)
#E4E7F0
(228,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3A5178 color. Also use rgb(58,81,120) instead hex code.

Text Font Color

.myTextColor { color: #3A5178; }

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

This text font color is #3A5178.


Background Color

.myBgColor { background-color: #3A5178; }

<div style="background-color:#3A5178">Inner text</div>

This div background color is #3A5178.


Border color

.myBorderColor { border: 1px solid #3A5178; }

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

This div border color is #3A5178.


Opacity

.myOpacity80 { color: #3A5178; opacity: 0.8; }

<p style="color:#3A5178;opacity:0.8;">80%</p>

Text with #3A5178 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 #3A5178;}

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

This text has shadow with #3A5178 color.

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

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

This text has shadow with #3A5178 primary color and red secondary color.


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

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

This text has shadow with #3A5178 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A5178 on black background.


Color preview on white background

This text has color #3A5178 on white background.



Black color preview on #3A5178 background

This text has black color on #3A5178 background.


White color preview on #3A5178 background

This text has white color on #3A5178 background.