COLOR #2A506C

HEX: #2A506C
RGB: (42,80,108)

Color info

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

RGB color model

#2A506C color RGB value is (42,80,108).

  • red value is 42;
  • green value is 80;
  • blue value is 108.
RGB:
(42,80,108)
(16%,31%,42%)

RGB channels and saturation

R 42 of 255 = 16%
G 80 of 255 = 31%
B 108 of 255 = 42%

42
80
108

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

Portions of RGB colors in percentages

R + G + B =
42 + 80 + 108 = 230 (100%)
R 42 of 230 ~ 18.26%
G 80 of 230 ~ 34.78%
B 108 of 230 ~ 46.96%

%18.26
%34.78
%46.96

CMYK color model

#2A506C color CMYK value is (61,26,0,58).

  • cyan value is 61.11%
  • magenta value is 25.93%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(61,26,0,58)
C61M26Y0K58 
(61%,26%,0%,58%)
(0.61/0.26/0.00/0.58)	

CMYK percentages

%61.11
%25.93
%0
%57.65

Codes

Color #2A506C in popluar color models

2A506C
RGB4280108
HSL205°44.00%29.41%
HSB/HSV205°61.11%42.35%
CMYK61.11%25.93%0.00%
57.65%

Color #2A506C in popluar number systems.

HEX2A506C
Decimal4280108
Binary10101010100001101100
Octal52120154

Shades and tints

Shades of #2A506C

#2A506C
(42,80,108)
#274963
(39,73,99)
#24425A
(36,66,90)
#213B51
(33,59,81)
#1E3448
(30,52,72)
#1B2D3F
(27,45,63)
#182636
(24,38,54)
#151F2D
(21,31,45)
#121824
(18,24,36)
#0F111B
(15,17,27)
#0C0A12
(12,10,18)
#000000
(0,0,0)

Tints of #2A506C

#2A506C
(42,80,108)
#3D5F79
(61,95,121)
#506E86
(80,110,134)
#637D93
(99,125,147)
#768CA0
(118,140,160)
#899BAD
(137,155,173)
#9CAABA
(156,170,186)
#AFB9C7
(175,185,199)
#C2C8D4
(194,200,212)
#D5D7E1
(213,215,225)
#E8E6EE
(232,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A506C color. Also use rgb(42,80,108) instead hex code.

Text Font Color

.myTextColor { color: #2A506C; }

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

This text font color is #2A506C.


Background Color

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

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

This div background color is #2A506C.


Border color

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

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

This div border color is #2A506C.


Opacity

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

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

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

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

This text has shadow with #2A506C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A506C on black background.


Color preview on white background

This text has color #2A506C on white background.



Black color preview on #2A506C background

This text has black color on #2A506C background.


White color preview on #2A506C background

This text has white color on #2A506C background.