COLOR #2A6178

HEX: #2A6178 RGB: (42,97,120)

Color info

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

RGB color model

#2A6178 color RGB value is (42,97,120).

RGB: (42,97,120) (16%, 38%, 47%)

RGB channels and saturation

R 42 of 255 = 16%
G 97 of 255 = 38%
B 120 of 255 = 47%

42
97
120

R + G + B ~ 34%. #2A6178 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 97 + 120 = 259 (100%)
R 42 of 259 ~ 16.22%
G 97 of 259 ~ 37.45%
B 120 of 259 ~ 46.33'%

%16.22
%37.45
%46.33

CMYK color model

#2A6178 color CMYK value is (65,19,0,53).

  • cyan value is 65.00%
  • magenta value is 19.17%
  • yellow value is 0.00%
  • key color value is 52.94%

CMYK: (65,19,0,53)
C65M19Y0K53 (65%, 19%, 0%, 53%)
(0.65 / 0.19 / 0.00 / 0.53)

CMYK percentages

%65
%19.17
%0
%52.94

Codes

Color #2A6178 in popluar color models

2A 61 78
RGB 42 97 120
HSL 198° 48.15% 31.76%
HSB/HSV 198° 65.00% 47.06%
CMYK 65.00% 19.17% 0.00%
52.94%

Color #2A6178 in popluar number systems.

HEX 2A 61 78
Decimal 42 97 120
Binary 101010 1100001 1111000
Octal 52 141 170

Shades and tints

Shades of #2A6178

#2A6178
(42,97,120)
#27596E
(39,89,110)
#245164
(36,81,100)
#21495A
(33,73,90)
#1E4150
(30,65,80)
#1B3946
(27,57,70)
#18313C
(24,49,60)
#152932
(21,41,50)
#122128
(18,33,40)
#0F191E
(15,25,30)
#0C1114
(12,17,20)
#000000
(0,0,0)

Tints of #2A6178

#2A6178
(42,97,120)
#3D6F84
(61,111,132)
#507D90
(80,125,144)
#638B9C
(99,139,156)
#7699A8
(118,153,168)
#89A7B4
(137,167,180)
#9CB5C0
(156,181,192)
#AFC3CC
(175,195,204)
#C2D1D8
(194,209,216)
#D5DFE4
(213,223,228)
#E8EDF0
(232,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A6178 color. Also use rgb(42,97,120) instead hex code.

Text Font Color

.myTextColor { color: #2A6178; }

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

This text font color is #2A6178.

Background Color

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

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

This div background color is #2A6178.

Border color

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

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

This div border color is #2A6178.

Opacity

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

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

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

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

This text has shadow with #2A6178 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A6178.

Preview

Color preview on black background

This text has color #2A6178 on black background.


Color preview on white background

This text has color #2A6178 on white background.


Black color preview on #2A6178 background

This text has black color on #2A6178 background.


White color preview on #2A6178 background

This text has white color on #2A6178 background.


Related colors

Complementary color

Complementary color for #hex is #D59E87.


I love getcolorcode.com

Triadic colors

1 #782A61 and #61782A with #2A6178 are triadic colors.

2 #78612A and #612A78 with #2A6178 are triadic colors.