COLOR #2A4F60

HEX: #2A4F60
RGB: (42,79,96)

Color info

#2A4F60 contains red, green and blue colors in about the same proportion. Web safe color of #2A4F60 is #336666 (or #366).

RGB color model

#2A4F60 color RGB value is (42,79,96).

  • red value is 42;
  • green value is 79;
  • blue value is 96.
RGB:
(42,79,96)
(16%,31%,38%)

RGB channels and saturation

R 42 of 255 = 16%
G 79 of 255 = 31%
B 96 of 255 = 38%

42
79
96

R + G + B ~ 28%. #2A4F60 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 79 + 96 = 217 (100%)
R 42 of 217 ~ 19.35%
G 79 of 217 ~ 36.41%
B 96 of 217 ~ 44.24%

%19.35
%36.41
%44.24

CMYK color model

#2A4F60 color CMYK value is (56,18,0,62).

  • cyan value is 56.25%
  • magenta value is 17.71%
  • yellow value is 0.00%
  • key color value is 62.35%
CMYK:
(56,18,0,62)
C56M18Y0K62 
(56%,18%,0%,62%)
(0.56/0.18/0.00/0.62)	

CMYK percentages

%56.25
%17.71
%0
%62.35

Codes

Color #2A4F60 in popluar color models

2A4F60
RGB427996
HSL199°39.13%27.06%
HSB/HSV199°56.25%37.65%
CMYK56.25%17.71%0.00%
62.35%

Color #2A4F60 in popluar number systems.

HEX2A4F60
Decimal427996
Binary10101010011111100000
Octal52117140

Shades and tints

Shades of #2A4F60

#2A4F60
(42,79,96)
#274858
(39,72,88)
#244150
(36,65,80)
#213A48
(33,58,72)
#1E3340
(30,51,64)
#1B2C38
(27,44,56)
#182530
(24,37,48)
#151E28
(21,30,40)
#121720
(18,23,32)
#0F1018
(15,16,24)
#0C0910
(12,9,16)
#000000
(0,0,0)

Tints of #2A4F60

#2A4F60
(42,79,96)
#3D5F6E
(61,95,110)
#506F7C
(80,111,124)
#637F8A
(99,127,138)
#768F98
(118,143,152)
#899FA6
(137,159,166)
#9CAFB4
(156,175,180)
#AFBFC2
(175,191,194)
#C2CFD0
(194,207,208)
#D5DFDE
(213,223,222)
#E8EFEC
(232,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4F60 color. Also use rgb(42,79,96) instead hex code.

Text Font Color

.myTextColor { color: #2A4F60; }

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

This text font color is #2A4F60.


Background Color

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

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

This div background color is #2A4F60.


Border color

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

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

This div border color is #2A4F60.


Opacity

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

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

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

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

This text has shadow with #2A4F60 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4F60 on black background.


Color preview on white background

This text has color #2A4F60 on white background.



Black color preview on #2A4F60 background

This text has black color on #2A4F60 background.


White color preview on #2A4F60 background

This text has white color on #2A4F60 background.